1
0
mirror of git://projects.qi-hardware.com/openwrt-packages.git synced 2024-11-24 13:06:15 +02:00

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

View File

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