wok-current view rrdtool-python/receipt @ rev 6594
fix python path
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Oct 09 17:19:46 2010 +0200 (2010-10-09) |
parents | 5921dc28d8c6 |
children | 1a57fb89843e |
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=python$(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 }