2011-01-13 08:36:18 +02:00
|
|
|
include $(TOPDIR)/rules.mk
|
|
|
|
|
|
|
|
PKG_NAME:=offrss
|
2011-05-29 13:13:43 +03:00
|
|
|
PKG_VERSION:=1.0
|
|
|
|
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
|
|
|
|
PKG_SOURCE_URL:=http://vicerveza.homeunix.net/~viric/soft/offrss/
|
2011-01-13 08:36:18 +02:00
|
|
|
PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION)
|
2011-05-29 13:13:43 +03:00
|
|
|
PKG_RELEASE:=1
|
2011-01-13 08:36:18 +02:00
|
|
|
|
|
|
|
include $(INCLUDE_DIR)/package.mk
|
2011-02-06 21:55:20 +02:00
|
|
|
include $(INCLUDE_DIR)/nls.mk
|
2011-01-13 08:36:18 +02:00
|
|
|
|
|
|
|
define Package/offrss
|
2011-01-17 05:39:00 +02:00
|
|
|
MAINTAINER:="Xiangfu Liu" <xiangfu@sharism.cc>
|
2011-01-13 08:36:18 +02:00
|
|
|
SECTION:=network
|
|
|
|
CATEGORY:=Network
|
|
|
|
TITLE:=Offrss
|
|
|
|
URL:=http://vicerveza.homeunix.net/~viric/cgi-bin/offrss/doc/trunk/doc/home.wiki
|
2012-04-04 14:01:10 +03:00
|
|
|
DEPENDS:=+libcurl +libnxml +libmrss @BROKEN
|
2011-01-13 08:36:18 +02:00
|
|
|
endef
|
|
|
|
|
2011-02-06 21:55:20 +02:00
|
|
|
TARGET_CFLAGS += -I$(STAGING_DIR)/usr/include
|
2011-01-20 15:21:22 +02:00
|
|
|
TARGET_LDFLAGS += -Wl,-rpath-link -Wl,$(STAGING_DIR)/usr/lib -liconv
|
2011-01-13 08:36:18 +02:00
|
|
|
|
|
|
|
define Package/offrss/description
|
2011-01-20 15:21:22 +02:00
|
|
|
offrss - Offline RSS reader
|
2011-01-13 08:36:18 +02:00
|
|
|
endef
|
|
|
|
|
|
|
|
define Package/offrss/install
|
2011-02-15 10:15:51 +02:00
|
|
|
$(INSTALL_DIR) $(1)/usr/bin
|
|
|
|
$(INSTALL_BIN) ./files/offrss $(1)/usr/bin
|
2011-01-13 08:36:18 +02:00
|
|
|
|
|
|
|
$(INSTALL_DIR) $(1)/usr/share/offrss
|
|
|
|
$(CP) $(PKG_BUILD_DIR)/$(PKG_NAME) $(1)/usr/share/offrss/
|
|
|
|
$(CP) ./files/feedurls.txt $(1)/usr/share/offrss/
|
|
|
|
endef
|
|
|
|
|
2011-01-17 05:39:00 +02:00
|
|
|
$(eval $(call BuildPackage,offrss))
|