1
0
mirror of git://projects.qi-hardware.com/openwrt-packages.git synced 2024-11-22 13:29:21 +02:00

gmenu2x files: add emacs icon

This commit is contained in:
Xiangfu Liu 2010-12-27 14:46:32 +08:00
parent 83b872863b
commit c0002c56fa
2 changed files with 19 additions and 1 deletions

View File

@ -1,3 +1,3 @@
title=emacs
icon=skin:icons/utilities-terminal.png
exec=/usr/bin/emacs@BROKEN
exec=/usr/bin/emacs

View File

@ -32,6 +32,15 @@ endef
TARGET_CFLAGS+=-I$(STAGING_DIR)/usr/include
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/; \
)
endef
define Build/Compile
(cd $(PKG_BUILD_DIR)/sys/unix; \
sh setup.sh; \
@ -46,8 +55,17 @@ endef
define Package/nethack/install
$(INSTALL_DIR) \
$(1)/usr/bin \
$(1)/usr/lib/nethackdir
$(INSTALL_BIN) \
$(PKG_BUILD_DIR)/src/nethack \
$(1)/usr/lib/nethackdir/
$(CP) \
$(PKG_BUILD_DIR)/jemarch-bin/nethack-3.4.3-nanonote-bin/lib/nethackdir/*
$(1)/usr/lib/nethackdir/
$(CP) \
$(PKG_BUILD_DIR)/src/nethack \
$(1)/usr/bin/
endef