wok-4.x annotate rrdtool-python/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 | 6ad8d6b4316e |
children | d0fa681cee8d |
rev | line source |
---|---|
pascal@1437 | 1 # SliTaz package receipt. |
pascal@1437 | 2 |
pascal@1437 | 3 PACKAGE="rrdtool-python" |
pascal@6116 | 4 VERSION="1.4.4" |
pascal@1437 | 5 CATEGORY="development" |
pascal@1437 | 6 SHORT_DESC="Python bindings for rrdtool." |
pascal@1437 | 7 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@2559 | 8 WEB_SITE="http://oss.oetiker.ch/rrdtool" |
pascal@1437 | 9 DEPENDS="python rrdtool" |
pascal@1437 | 10 WANTED="rrdtool" |
pascal@1437 | 11 |
pascal@1437 | 12 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@1437 | 13 genpkg_rules() |
pascal@1437 | 14 { |
pascal@6592 | 15 PYTHON_LIB=$(grep ^VERSION= $WOK/python/receipt | sed 's/.*"\(...\).*/\1/') |
pascal@1437 | 16 mkdir -p $fs/usr/lib |
pascal@6592 | 17 cp -a $_pkg/usr/lib/$PYTHON_LIB $fs/usr/lib |
pascal@1437 | 18 } |
pascal@1437 | 19 |