wok annotate libxslt/receipt @ rev 14604
Xorg marathon. Day 1. (Carefully check versions, (build-)depends, pretty-print receipts)
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Fri May 31 00:58:07 2013 +0000 (2013-05-31) |
parents | b7319995b37e |
children | 09959b49f7da |
rev | line source |
---|---|
pankso@147 | 1 # SliTaz package receipt. |
pankso@147 | 2 |
pankso@147 | 3 PACKAGE="libxslt" |
slaxemulator@6451 | 4 VERSION="1.1.26" |
pankso@211 | 5 CATEGORY="system-tools" |
pankso@147 | 6 SHORT_DESC="XSLT support for libxml2." |
pankso@147 | 7 MAINTAINER="pankso@slitaz.org" |
pascal@2475 | 8 DEPENDS="libgcrypt libxml2 zlib" |
slaxemulator@12334 | 9 BUILD_DEPENDS="libgcrypt-dev libxml2-dev zlib-dev python-dev" |
pankso@147 | 10 TARBALL="$PACKAGE-$VERSION.tar.gz" |
pankso@147 | 11 WEB_SITE="http://www.xmlsoft.org/XSLT/" |
pankso@147 | 12 WGET_URL="ftp://xmlsoft.org/libxslt/$TARBALL" |
pankso@147 | 13 |
pankso@147 | 14 # Rules to configure and make the package. |
pankso@147 | 15 compile_rules() |
pankso@147 | 16 { |
pankso@147 | 17 cd $src |
gokhlayeh@11573 | 18 ./configure $CONFIGURE_ARGS && |
pascal@2475 | 19 make && |
slaxemulator@9474 | 20 make install |
pankso@147 | 21 } |
pankso@147 | 22 |
pankso@147 | 23 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@147 | 24 genpkg_rules() |
pankso@147 | 25 { |
pankso@147 | 26 mkdir -p $fs/usr/lib/libxslt-plugins |
pankso@147 | 27 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib |
pankso@147 | 28 cp -a $_pkg/usr/bin $fs/usr |
pankso@147 | 29 rm $fs/usr/bin/xslt-config |
pankso@147 | 30 } |