# HG changeset patch # User Christophe Lincoln # Date 1199299721 -3600 # Node ID af8e994c9b2fd5837fa5bc25b98e52f9aabb0f9d # Parent 79c672f0fb4b02d7b867599374329f2daee52a08 Add : libxslt + devel pkg diff -r 79c672f0fb4b -r af8e994c9b2f libxslt-dev/receipt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/libxslt-dev/receipt Wed Jan 02 19:48:41 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 79c672f0fb4b -r af8e994c9b2f libxslt/receipt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/libxslt/receipt Wed Jan 02 19:48:41 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 +}