clean up, replace old libtool fixup calls with PKG_FIXUP

git-svn-id: svn://svn.openwrt.org/openwrt/packages@9947 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
nbd
2007-12-27 02:12:04 +00:00
parent bde8752902
commit 76e8333cc6
40 changed files with 103 additions and 247 deletions

View File

@ -18,6 +18,8 @@ PKG_MD5SUM:=fde0ee69e3125e982746d9fe005763e1
PKG_BUILD_DEPENDS:=libtool
PKG_FIXUP = libtool
include $(INCLUDE_DIR)/package.mk
define Package/libsigcxx
@ -45,7 +47,6 @@ CONFIGURE_VARS += \
define Build/Configure
$(call Build/Configure/Default,)
$(call libtool_disable_rpath)
$(SED) 's|^sys_lib_dlsearch_path_spec=.*|sys_lib_dlsearch_path_spec="$(STAGING_DIR)/usr/lib"|g' \
$(PKG_BUILD_DIR)/libtool
$(SED) 's|^postdeps=.*|postdeps=|g' $(PKG_BUILD_DIR)/libtool
@ -53,7 +54,6 @@ endef
define Build/Compile
$(MAKE) -C $(PKG_BUILD_DIR) all
$(call libtool_fixup_libdir,$(PKG_INSTALL_DIR))
$(MAKE) -C $(PKG_BUILD_DIR) DESTDIR="$(PKG_INSTALL_DIR)" install
endef