wok-6.x annotate libxslt-dev/receipt @ rev 6592
remove hard coded python2.5
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Oct 09 15:31:15 2010 +0200 (2010-10-09) |
parents | ed7be0cb5b81 |
children | d0fa681cee8d |
rev | line source |
---|---|
pankso@85 | 1 # SliTaz package receipt. |
pankso@85 | 2 |
pankso@85 | 3 PACKAGE="libxslt-dev" |
slaxemulator@6451 | 4 VERSION="1.1.26" |
pankso@199 | 5 CATEGORY="development" |
pankso@85 | 6 SHORT_DESC="XSLT devel files support for libxml2." |
pankso@85 | 7 MAINTAINER="pankso@slitaz.org" |
pankso@85 | 8 WANTED="libxslt" |
pascal@2475 | 9 DEPENDS="libxslt" |
pankso@85 | 10 WEB_SITE="http://xmlsoft.org/" |
pankso@85 | 11 |
pankso@85 | 12 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@85 | 13 genpkg_rules() |
pankso@85 | 14 { |
pankso@85 | 15 mkdir -p $fs/usr/lib $fs/usr/bin $fs/usr/share |
pankso@85 | 16 |
pankso@85 | 17 cp -a $_pkg/usr/lib/*.*a $fs/usr/lib |
pankso@85 | 18 cp -a $_pkg/usr/lib/*.sh $fs/usr/lib |
pankso@85 | 19 cp -a $_pkg/usr/lib/pkgconfig $fs/usr/lib |
pankso@85 | 20 |
pankso@85 | 21 cp $_pkg/usr/bin/xslt-config $fs/usr/bin |
pankso@85 | 22 chmod +x $fs/usr/bin/* |
pankso@85 | 23 |
pankso@85 | 24 # Python module |
pascal@6592 | 25 PYTHON_LIB=$(grep ^VERSION= $WOK/python/receipt | sed 's/.*"\(...\).*/\1/') |
pascal@6592 | 26 cp -a $_pkg/usr/lib/$PYTHON_LIB $fs/usr/lib |
pankso@85 | 27 |
pankso@85 | 28 cp -a $_pkg/usr/include $fs/usr |
pankso@85 | 29 cp -a $_pkg/usr/share/aclocal $fs/usr/share |
pankso@85 | 30 } |