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