wok-current view libxslt/receipt @ rev 12030

stella: move post_install code to genpkg_rules. It's far better to run a command once on the builder than on install on each of our computer.
author Antoine Bodin <gokhlayeh@slitaz.org>
date Tue Mar 06 22:40:08 2012 +0100 (2012-03-06)
parents 79091c9a2a84
children 210b7c05d288
line source
1 # SliTaz package receipt.
3 PACKAGE="libxslt"
4 VERSION="1.1.26"
5 CATEGORY="system-tools"
6 SHORT_DESC="XSLT support for libxml2."
7 MAINTAINER="pankso@slitaz.org"
8 DEPENDS="libgcrypt libxml2 zlib"
9 BUILD_DEPENDS="python-dev"
10 TARBALL="$PACKAGE-$VERSION.tar.gz"
11 WEB_SITE="http://www.xmlsoft.org/XSLT/"
12 WGET_URL="ftp://xmlsoft.org/libxslt/$TARBALL"
14 # Rules to configure and make the package.
15 compile_rules()
16 {
17 cd $src
18 ./configure $CONFIGURE_ARGS &&
19 make &&
20 make install
21 }
23 # Rules to gen a SliTaz package suitable for Tazpkg.
24 genpkg_rules()
25 {
26 mkdir -p $fs/usr/lib/libxslt-plugins
27 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
28 cp -a $_pkg/usr/bin $fs/usr
29 rm $fs/usr/bin/xslt-config
30 }