imgv, add rpath-link to CFLAGS

nethack, fix the install typo
This commit is contained in:
Xiangfu Liu 2011-01-19 10:53:21 +08:00
parent d3bb3a95be
commit cbd9e398d8
2 changed files with 6 additions and 10 deletions

View File

@ -29,7 +29,7 @@ define Package/imgv
URL:=http://projects.qi-hardware.com/index.php/p/imgv/
endef
TARGET_CFLAGS += -Wl,-rpath-link=$(STAGING_DIR)/usr/lib
MAKE_VARS += TARGETPATH=$(STAGING_DIR)
define Package/imgv/install

View File

@ -56,19 +56,15 @@ endef
define Package/nethack/install
$(INSTALL_DIR) \
$(1)/usr/bin \
$(1)/usr/lib/nethackdir
$(1)/usr/games/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/
$(CP) \
$(PKG_BUILD_DIR)/jemarch-bin/nethack-3.4.3-nanonote-bin/lib/nethackdir/* \
$(1)/usr/games/lib/nethackdir
endef
$(eval $(call BuildPackage,nethack))