wok-next view rrdtool-python/receipt @ rev 14510

get-src2pkg: fix package name
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue May 14 07:48:46 2013 +0200 (2013-05-14)
parents 1a57fb89843e
children 2d12ebd38be4
line source
1 # SliTaz package receipt.
3 PACKAGE="rrdtool-python"
4 VERSION="1.4.6"
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 }