1
0
mirror of git://projects.qi-hardware.com/openwrt-xburst.git synced 2024-11-10 17:43:10 +02:00

enable options required for libxslt,

remove lib searchpath in xml2-config,
fix cleaning


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@1718 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
nico 2005-08-22 07:08:31 +00:00
parent 30baf2f972
commit db4bceb992

View File

@ -53,7 +53,7 @@ $(PKG_BUILD_DIR)/.configured:
--without-catalog \ --without-catalog \
--without-debug \ --without-debug \
--without-docbook \ --without-docbook \
--without-html \ --with-html \
--without-ftp \ --without-ftp \
--without-http \ --without-http \
--without-iconv \ --without-iconv \
@ -72,9 +72,9 @@ $(PKG_BUILD_DIR)/.configured:
--with-tree \ --with-tree \
--with-valid \ --with-valid \
--with-writer \ --with-writer \
--without-xinclude \ --with-xinclude \
--without-xpath \ --with-xpath \
--without-xptr \ --with-xptr \
--with-zlib \ --with-zlib \
); );
touch $@ touch $@
@ -102,13 +102,18 @@ $(STAGING_DIR)/usr/lib/libxml2.so: $(PKG_BUILD_DIR)/.built
cp -fpR $(PKG_INSTALL_DIR)/usr/lib/libxml2.{a,so*} $(STAGING_DIR)/usr/lib/ cp -fpR $(PKG_INSTALL_DIR)/usr/lib/libxml2.{a,so*} $(STAGING_DIR)/usr/lib/
mkdir -p $(STAGING_DIR)/usr/lib/pkgconfig mkdir -p $(STAGING_DIR)/usr/lib/pkgconfig
cp -fpR $(PKG_INSTALL_DIR)/usr/lib/pkgconfig/libxml-2.0.pc $(STAGING_DIR)/usr/lib/pkgconfig/ cp -fpR $(PKG_INSTALL_DIR)/usr/lib/pkgconfig/libxml-2.0.pc $(STAGING_DIR)/usr/lib/pkgconfig/
$(SED) 's,-I$${includedir}/libxml2,,g' $(STAGING_DIR)/usr/bin/xml2-config
$(SED) 's,-I$${includedir},,g' $(STAGING_DIR)/usr/bin/xml2-config
$(SED) 's,-I$(STAGING_DIR)/usr/include,,g' $(STAGING_DIR)/usr/bin/xml2-config
$(SED) 's,-L$${libdir},,g' $(STAGING_DIR)/usr/bin/xml2-config
$(SED) 's,-L$(STAGING_DIR)/usr/lib,,g' $(STAGING_DIR)/usr/bin/xml2-config
touch $@ touch $@
install-dev: $(STAGING_DIR)/usr/lib/libxml2.so install-dev: $(STAGING_DIR)/usr/lib/libxml2.so
uninstall-dev: uninstall-dev:
rm -rf \ rm -rf \
$(STAGING_DIR)/usr/bin/libxml2-config \ $(STAGING_DIR)/usr/bin/xml2-config \
$(STAGING_DIR)/usr/include/libxml2 \ $(STAGING_DIR)/usr/include/libxml2 \
$(STAGING_DIR)/usr/lib/libxml2.{a,so*} \ $(STAGING_DIR)/usr/lib/libxml2.{a,so*} \
$(STAGING_DIR)/usr/lib/pkgconfig/libxml-2.0.pc \ $(STAGING_DIR)/usr/lib/pkgconfig/libxml-2.0.pc \