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
14include $(INCLUDE_DIR)/nls.mk
15
16define Package/snownews
17    SECTION:=utils
18    CATEGORY:=Utilities
19    DEPENDS:=+libncursesw +libxml2 +libopenssl +zlib $(ICONV_DEPENDS) $(INTL_DEPENDS) +libcharset
20    TITLE:=SnowNews
21    URL:=http://kiza.kcore.de/software/snownews/
22endef
23
24define Package/snownews/description
25    RSS feed reader
26endef
27
28define Build/Configure
29    $(call Build/Compile/Default,\
30    EXTRA_CFLAGS="$(ICONV_CFLAGS) $(INTL_CFLAGS) -I$(STAGING_DIR)/usr/include -I$(STAGING_DIR)/usr/include/libxml2/ "\
31    EXTRA_LDFLAGS="-L$(STAGING_DIR)/usr/lib/ $(ICONV_LDFLAGS) $(INTL_LDFLAGS) -lcharset -lintl -liconv -lm -lz "\
32        )
33endef
34
35define Package/snownews/install
36    $(INSTALL_DIR) $(1)/usr/bin
37    $(INSTALL_BIN) $(PKG_BUILD_DIR)/snownews $(1)/usr/bin
38    $(STRIP) $(1)/usr/bin/snownews
39endef
40
41$(eval $(call BuildPackage,snownews))
42

Archive Download this file



interactive