From d0b6d45411dd224ab8ee241eea3ffe9834ddf4d6 Mon Sep 17 00:00:00 2001 From: Xiangfu Liu Date: Sun, 29 May 2011 18:13:43 +0800 Subject: [PATCH] offrss: update to 1.0 --- offrss/Makefile | 14 ++++---------- .../001-fix-the-static-gcc-in-Makefile.patch | 13 ------------- 2 files changed, 4 insertions(+), 23 deletions(-) delete mode 100644 offrss/patches/001-fix-the-static-gcc-in-Makefile.patch diff --git a/offrss/Makefile b/offrss/Makefile index cac4686..4e2e420 100644 --- a/offrss/Makefile +++ b/offrss/Makefile @@ -1,13 +1,11 @@ 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_VERSION:=1.0 +PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz +PKG_SOURCE_URL:=http://vicerveza.homeunix.net/~viric/soft/offrss/ PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION) -UNPACK_CMD=unzip $(DL_DIR)/$(PKG_SOURCE) -d $(1)/../ +PKG_RELEASE:=1 include $(INCLUDE_DIR)/package.mk include $(INCLUDE_DIR)/nls.mk @@ -28,10 +26,6 @@ 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 diff --git a/offrss/patches/001-fix-the-static-gcc-in-Makefile.patch b/offrss/patches/001-fix-the-static-gcc-in-Makefile.patch deleted file mode 100644 index 8c33c04..0000000 --- a/offrss/patches/001-fix-the-static-gcc-in-Makefile.patch +++ /dev/null @@ -1,13 +0,0 @@ -diff --git a/Makefile b/Makefile -index ff2e231..8414bae 100644 ---- a/Makefile -+++ b/Makefile -@@ -1,7 +1,7 @@ - VERSION=$(shell if test -f manifest.uuid; then cat manifest.uuid | cut -c -10 ; else echo undefined; fi) - - offrss: offrss.c server.c encoding.c util.c -- gcc -DVERSION="$(VERSION)" -g -o $@ $^ -lmrss -lcurl -+ $(CC) $(CFLAGS) $(LDFLAGS) -DVERSION="$(VERSION)" -g -o $@ $^ -lmrss -lcurl - - offrss.c: offrss.h - server.c: offrss.h