# HG changeset patch # User Antoine Bodin # Date 1296084050 -3600 # Node ID 5bebc54eaff77c4745afe4f2284cfd152b5a599f # Parent c87bd29ce2932f88a2e83907283a7251755fcf5d imported patch cleanup/xalan-c.patch diff -r c87bd29ce293 -r 5bebc54eaff7 xalan-c/receipt --- a/xalan-c/receipt Thu Jan 27 00:20:50 2011 +0100 +++ b/xalan-c/receipt Thu Jan 27 00:20:50 2011 +0100 @@ -16,24 +16,16 @@ # Rules to configure and make the package. compile_rules() { - # Determine if BUILD_HOST has been defined in tazwok.conf as it should - if [ -z "$BUILD_HOST" ] ; then - # Provide a default TOOLPREFIX value - BUILD_HOST=i486-pc-linux-gnu - fi - - mv xml-xalan/c $src - rm -r xml-xalan - cd $src + mv c/* . && rm -r c export XERCESCROOT=/usr export XALANCROOT=$src ./runConfigure -p linux -c gcc -x g++ -P /usr \ -C --build=$BUILD_HOST -C --host=$BUILD_HOST && - make -j 4 && - make DESTDIR=$src/_pkg install + make && + make install } # Rules to gen a SliTaz package suitable for Tazpkg.