# HG changeset patch # User Christophe Lincoln # Date 1201254455 -3600 # Node ID 5e8be83697d9b36548d964748eb45f05d96ceb10 # Parent 97e887fa49fd94b1a6ce7e26ef6e72a831dc6a09 Add : libxslt - XSLT support for libxml2 diff -r 97e887fa49fd -r 5e8be83697d9 libxslt-dev/receipt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/libxslt-dev/receipt Fri Jan 25 10:47:35 2008 +0100 @@ -0,0 +1,28 @@ +# SliTaz package receipt. + +PACKAGE="libxslt-dev" +VERSION="1.1.22" +CATEGORY="devel" +SHORT_DESC="XSLT devel files support for libxml2." +MAINTAINER="pankso@slitaz.org" +WANTED="libxslt" +WEB_SITE="http://xmlsoft.org/" + +# Rules to gen a SliTaz package suitable for Tazpkg. +genpkg_rules() +{ + mkdir -p $fs/usr/lib $fs/usr/bin $fs/usr/share + + cp -a $_pkg/usr/lib/*.*a $fs/usr/lib + cp -a $_pkg/usr/lib/*.sh $fs/usr/lib + cp -a $_pkg/usr/lib/pkgconfig $fs/usr/lib + + cp $_pkg/usr/bin/xslt-config $fs/usr/bin + chmod +x $fs/usr/bin/* + + # Python module + cp -a $_pkg/usr/lib/python2.5 $fs/usr/lib + + cp -a $_pkg/usr/include $fs/usr + cp -a $_pkg/usr/share/aclocal $fs/usr/share +} diff -r 97e887fa49fd -r 5e8be83697d9 libxslt/receipt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/libxslt/receipt Fri Jan 25 10:47:35 2008 +0100 @@ -0,0 +1,36 @@ +# SliTaz package receipt. + +PACKAGE="libxslt" +VERSION="1.1.22" +CATEGORY="extra" +SHORT_DESC="XSLT support for libxml2." +MAINTAINER="pankso@slitaz.org" +BUILD_DEPENDS="libxml2-dev" +TARBALL="$PACKAGE-$VERSION.tar.gz" +WEB_SITE="http://www.xmlsoft.org/XSLT/" +WGET_URL="ftp://xmlsoft.org/libxslt/$TARBALL" + +# Rules to configure and make the package. +compile_rules() +{ + cd $src + ./configure \ + --prefix=/usr \ + --infodir=/usr/share/info \ + --mandir=/usr/share/man \ + --with-html-dir=/usr/share/doc \ + $CONFIGURE_ARGS + make + make DESTDIR=$PWD/_pkg install +} + +# Rules to gen a SliTaz package suitable for Tazpkg. +genpkg_rules() +{ + mkdir -p $fs/usr/lib/libxslt-plugins + cp -a $_pkg/usr/lib/*.so* $fs/usr/lib + cp -a $_pkg/usr/bin $fs/usr + rm $fs/usr/bin/xslt-config + strip -s $fs/usr/lib/* 2>/dev/null + strip -s $fs/usr/bin/* 2>/dev/null +}