changeset 254:f200927554c5

simplified build instructions for the new version of package xmlwrapp
author Volker Grabsch <vog@notjusthosting.com>
date Sat, 28 Feb 2009 15:23:01 +0100
parents f2dc3a6a2140
children 5be7ae2819e7
files src/xmlwrapp.mk
diffstat 1 files changed, 6 insertions(+), 16 deletions(-) [+]
line wrap: on
line diff
--- a/src/xmlwrapp.mk	Sat Feb 28 14:10:16 2009 +0100
+++ b/src/xmlwrapp.mk	Sat Feb 28 15:23:01 2009 +0100
@@ -16,20 +16,10 @@
 endef
 
 define $(PKG)_BUILD
-    $(SED) 's,.*/usr/include.*,,' -i '$(1)/configure.pl'
-    EXSLT_LIBS=`$(TARGET)-pkg-config libexslt --libs | $(SED) 's,-L[^ ]*,,g'` \
-    $(SED) "s,-lxslt -lexslt,$$EXSLT_LIBS," -i '$(1)/configure.pl'
-    $(SED) 's,"ranlib",$$ENV{"RANLIB"} || "ranlib",g' -i '$(1)/tools/cxxflags'
-    cd '$(1)' && \
-        CXX='$(TARGET)-g++' \
-        AR='$(TARGET)-ar' \
-        RANLIB='$(TARGET)-ranlib' \
-        CXXFLAGS="-ffriend-injection `$(PREFIX)/$(TARGET)/bin/xml2-config --cflags`" \
-        ./configure.pl \
-            --disable-shared \
-            --prefix='$(PREFIX)/$(TARGET)' \
-            --xml2-config='$(PREFIX)/$(TARGET)/bin/xml2-config' \
-            --xslt-config='$(PREFIX)/$(TARGET)/bin/xslt-config' \
-            --disable-examples
-    $(MAKE) -C '$(1)' -j '$(JOBS)' install
+    cd '$(1)' && ./configure \
+        --host='$(TARGET)' \
+        --disable-shared \
+        --prefix='$(PREFIX)/$(TARGET)' \
+        PKG_CONFIG='$(TARGET)-pkg-config'
+    $(MAKE) -C '$(1)' -j '$(JOBS)' install bin_PROGRAMS= sbin_PROGRAMS= noinst_PROGRAMS= html_DATA=
 endef