From 0ec093b59b5cf6b7c2215d823addce20aa52b2ae Mon Sep 17 00:00:00 2001 From: Xiangfu Liu Date: Tue, 15 Feb 2011 16:15:51 +0800 Subject: [PATCH] gmenu2x, offrss, nethack small fix, update --- gmenu2x/Makefile | 4 ++-- nethack/Makefile | 16 ++++++++-------- offrss/Makefile | 5 ++--- offrss/files/offrss | 4 ++++ 4 files changed, 16 insertions(+), 13 deletions(-) create mode 100755 offrss/files/offrss diff --git a/gmenu2x/Makefile b/gmenu2x/Makefile index 45e5e3a..2fe6012 100644 --- a/gmenu2x/Makefile +++ b/gmenu2x/Makefile @@ -8,8 +8,8 @@ include $(TOPDIR)/rules.mk PKG_NAME:=gmenu2x -PKG_VERSION:=20110214 -PKG_REV:=6dc9b3fbb0d1f346370dc2acb68e5ee8a5198ef7 +PKG_VERSION:=20110215 +PKG_REV:=bb826e0cdf212e49e8872f42f44db67b40416417 PKG_RELEASE:=1 PKG_INSTALL:=1 diff --git a/nethack/Makefile b/nethack/Makefile index b730af8..d26134d 100644 --- a/nethack/Makefile +++ b/nethack/Makefile @@ -35,11 +35,11 @@ TARGET_LDFLAGS+= -Wl,-rpath-link=$(STAGING_DIR)/usr/lib define Build/Prepare $(call Build/Prepare/Default) - (mkdir -p $(PKG_BUILD_DIR)/jemarch-bin; \ - cd $(PKG_BUILD_DIR)/; \ - wget http://www.jemarch.net/downloads/nanonote/nethack-3.4.3-nanonote-bin.tar.gz; \ - tar xf nethack-3.4.3-nanonote-bin.tar.gz -C jemarch-bin/; \ - ) + # (mkdir -p $(PKG_BUILD_DIR)/jemarch-bin; \ + # cd $(PKG_BUILD_DIR)/; \ + # wget http://www.jemarch.net/downloads/nanonote/nethack-3.4.3-nanonote-bin.tar.gz; \ + # tar xf nethack-3.4.3-nanonote-bin.tar.gz -C jemarch-bin/; \ + # ) endef define Build/Compile @@ -62,9 +62,9 @@ define Package/nethack/install $(PKG_BUILD_DIR)/src/nethack \ $(1)/usr/bin/ - $(CP) \ - $(PKG_BUILD_DIR)/jemarch-bin/nethack-3.4.3-nanonote-bin/lib/nethackdir/* \ - $(1)/usr/games/lib/nethackdir + # $(CP) \ + # $(PKG_BUILD_DIR)/jemarch-bin/nethack-3.4.3-nanonote-bin/lib/nethackdir/* \ + # $(1)/usr/games/lib/nethackdir endef $(eval $(call BuildPackage,nethack)) diff --git a/offrss/Makefile b/offrss/Makefile index 9d6f1e3..cac4686 100644 --- a/offrss/Makefile +++ b/offrss/Makefile @@ -33,9 +33,8 @@ define Build/Compile endef define Package/offrss/install - # $(INSTALL_DIR) $(1)/usr/bin - # echo -e "\0043\0041/bin/sh\n(cd /usr/share/offrss; ./offrss $$*)" > $(1)/usr/bin/offrss - # chmod +x $(1)/usr/bin/offrss + $(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/ diff --git a/offrss/files/offrss b/offrss/files/offrss new file mode 100755 index 0000000..65ba59c --- /dev/null +++ b/offrss/files/offrss @@ -0,0 +1,4 @@ +#!/bin/sh + +(cd /usr/share/offrss; ./offrss $*) +