Change Details
snownews/Makefile |
| 1 | # |
| 2 | # Copyright (C) 2006 OpenWrt.org |
| 3 | # |
| 4 | # This is free software, licensed under the GNU General Public License v2. |
| 5 | # See /LICENSE for more information. |
| 6 | # |
| 7 | |
| 8 | include $(TOPDIR)/rules.mk |
| 9 | |
| 10 | PKG_NAME:=snownews |
| 11 | PKG_VERSION:=1.5.12 |
| 12 | PKG_RELEASE:=1 |
| 13 | |
| 14 | PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz |
| 15 | PKG_SOURCE_URL:=http://kiza.kcore.de/media/software/snownews/ |
| 16 | PKG_MD5SUM:=80da8943fc5aa96571924aec0087d4c0 |
| 17 | |
| 18 | # |
| 19 | |
| 20 | include $(INCLUDE_DIR)/package.mk |
| 21 | |
| 22 | define Package/snownews |
| 23 | SECTION:=utils |
| 24 | CATEGORY:=Utilities |
| 25 | DEPENDS:=+libncurses +libxml2 +libopenssl +zlib |
| 26 | TITLE:=SnowNews |
| 27 | URL:=http://kiza.kcore.de/software/snownews/ |
| 28 | endef |
| 29 | |
| 30 | define Package/snownews/description |
| 31 | RSS feed reader |
| 32 | endef |
| 33 | |
| 34 | define Build/Configure |
| 35 | $(call Build/Compile/Default,\ |
| 36 | EXTRA_CFLAGS="-I$(STAGING_DIR)/usr/lib/libintl/include -I$(STAGING_DIR)/usr/lib/libiconv/include -I$(STAGING_DIR)/usr/include"\ |
| 37 | 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 "\ |
| 38 | ) |
| 39 | endef |
| 40 | |
| 41 | define Package/snownews/install |
| 42 | $(INSTALL_DIR) $(1)/usr/bin |
| 43 | $(INSTALL_BIN) $(PKG_BUILD_DIR)/snownews $(1)/usr/bin |
| 44 | $(STRIP) $(1)/usr/bin/snownews |
| 45 | endef |
| 46 | |
| 47 | $(eval $(call BuildPackage,snownews)) |
snownews/patches/Makefile.patch |
| 1 | --- snownews-1.5.12/Makefile 2009-09-17 08:44:27.000000000 +0200 |
| 2 | @@ -6,7 +6,9 @@ |
| 3 | |
| 4 | ### Compiler/linker flags ### |
| 5 | ### Generated via configure ### |
| 6 | -include platform_settings |
| 7 | +PREFIX= /usr |
| 8 | +CFLAGS= -Wall -Wno-format-y2k -O2 -DLOCALEPATH="\"$(LOCALEPATH)\"" -DOS=\"Linux\" -I/usr/include/libxml2 $(EXTRA_CFLAGS) |
| 9 | +LDFLAGS= -lncurses -lcrypto -lxml2 $(EXTRA_LDFLAGS) |
| 10 | |
| 11 | ### Object files ### |
| 12 | OBJFILES= main.o netio.o interface.o xmlparse.o updatecheck.o conversions.o dialog.o ui-support.o categories.o about.o cookies.o setup.o net-support.o digcalc.o filters.o io-internal.o os-support.o zlib_interface.o support.o |
Download the corresponding diff file