install libtool and config.guess in STAGING_DIR

git-svn-id: svn://svn.openwrt.org/openwrt/packages@5392 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
nico 2006-11-03 00:10:50 +00:00
parent 4538fd32ce
commit 0fc63330e2

View File

@ -51,16 +51,24 @@ define Build/Compile
endef
define Build/InstallDev
mkdir -p $(STAGING_DIR)/usr/bin
$(CP) $(PKG_INSTALL_DIR)/usr/bin/libtool $(STAGING_DIR)/usr/bin/
mkdir -p $(STAGING_DIR)/usr/include
$(CP) $(PKG_INSTALL_DIR)/usr/include/ltdl.h $(STAGING_DIR)/usr/include/
mkdir -p $(I_LIBLTDL_DEV)/usr/lib
$(CP) $(PKG_INSTALL_DIR)/usr/lib/libltdl.{a,so*} $(STAGING_DIR)/usr/lib/
mkdir -p $(STAGING_DIR)/usr/share/libtool
$(CP) $(PKG_INSTALL_DIR)/usr/share/libtool/config.guess $(STAGING_DIR)/usr/share/libtool/
$(SED) 's|^sys_lib_dlsearch_path_spec=.*|sys_lib_dlsearch_path_spec="$(STAGING_DIR)/usr/lib $(STAGING_DIR)/lib"|g' \
$(PKG_INSTALL_DIR)/usr/bin/libtool
endef
define Build/UninstallDev
rm -rf \
$(STAGING_DIR)/usr/bin/libtool \
$(STAGING_DIR)/usr/include/ltdl.h \
$(STAGING_DIR)/usr/lib/libltdl.{a,so*}
$(STAGING_DIR)/usr/lib/libltdl.{a,so*} \
$(STAGING_DIR)/usr/share/libtool
endef
define Package/libltdl/install