1
0
mirror of git://projects.qi-hardware.com/openwrt-packages.git synced 2024-12-01 20:39:44 +02:00
openwrt-packages/offrss/Makefile

45 lines
1.1 KiB
Makefile
Raw Normal View History

include $(TOPDIR)/rules.mk
PKG_NAME:=offrss
PKG_VERSION:=trunk
PKG_RELEASE:=1
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).zip
PKG_SOURCE_URL:=http://downloads.qi-hardware.com/software/mirror-openwrt-sources/
PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION)
UNPACK_CMD=unzip $(DL_DIR)/$(PKG_SOURCE) -d $(1)/../
include $(INCLUDE_DIR)/package.mk
2011-02-06 21:55:20 +02:00
include $(INCLUDE_DIR)/nls.mk
define Package/offrss
2011-01-17 05:39:00 +02:00
MAINTAINER:="Xiangfu Liu" <xiangfu@sharism.cc>
SECTION:=network
CATEGORY:=Network
TITLE:=Offrss
URL:=http://vicerveza.homeunix.net/~viric/cgi-bin/offrss/doc/trunk/doc/home.wiki
2011-01-20 14:39:18 +02:00
DEPENDS:=+libcurl +libnxml +libmrss
endef
2011-02-06 21:55:20 +02:00
TARGET_CFLAGS += -I$(STAGING_DIR)/usr/include
TARGET_LDFLAGS += -Wl,-rpath-link -Wl,$(STAGING_DIR)/usr/lib -liconv
define Package/offrss/description
offrss - Offline RSS reader
endef
define Build/Compile
$(call Build/Compile/Default)
endef
define Package/offrss/install
$(INSTALL_DIR) $(1)/usr/bin
$(INSTALL_BIN) ./files/offrss $(1)/usr/bin
$(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))