Root/snownews/Makefile

1include $(TOPDIR)/rules.mk
2
3PKG_NAME:=snownews
4PKG_VERSION:=1.5.12
5PKG_RELEASE:=1
6
7PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
8PKG_SOURCE_URL:=http://kiza.kcore.de/media/software/snownews/
9PKG_MD5SUM:=80da8943fc5aa96571924aec0087d4c0
10
11#
12
13include $(INCLUDE_DIR)/package.mk
14
15define Package/snownews
16    SECTION:=utils
17    CATEGORY:=Utilities
18    DEPENDS:=+libncurses +libxml2 +libopenssl +zlib
19    TITLE:=SnowNews
20    URL:=http://kiza.kcore.de/software/snownews/
21endef
22
23define Package/snownews/description
24    RSS feed reader
25endef
26
27define Build/Configure
28    $(call Build/Compile/Default,\
29    EXTRA_CFLAGS="-I$(STAGING_DIR)/usr/lib/libintl/include -I$(STAGING_DIR)/usr/lib/libiconv/include -I$(STAGING_DIR)/usr/include -I$(STAGING_DIR)/usr/include/libxml2/ "\
30    EXTRA_LDFLAGS="-L$(STAGING_DIR)/usr/lib/ -L$(STAGING_DIR)/usr/lib/libintl/lib -L$(STAGING_DIR)/usr/lib/libiconv/lib -liconv -lcharset -lintl -lm -lz "\
31        )
32endef
33
34define Package/snownews/install
35    $(INSTALL_DIR) $(1)/usr/bin
36    $(INSTALL_BIN) $(PKG_BUILD_DIR)/snownews $(1)/usr/bin
37    $(STRIP) $(1)/usr/bin/snownews
38endef
39
40$(eval $(call BuildPackage,snownews))
41

Archive Download this file



interactive