1
0
mirror of git://projects.qi-hardware.com/openwrt-packages.git synced 2024-06-26 03:11:04 +03:00

gmenu2x, offrss, nethack small fix, update

This commit is contained in:
Xiangfu Liu 2011-02-15 16:15:51 +08:00
parent a0ee309f2a
commit 0ec093b59b
4 changed files with 16 additions and 13 deletions

View File

@ -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

View File

@ -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))

View File

@ -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/

4
offrss/files/offrss Executable file
View File

@ -0,0 +1,4 @@
#!/bin/sh
(cd /usr/share/offrss; ./offrss $*)