wok annotate dbus-python-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 | 17aae24bdce5 |
children | d0fa681cee8d |
rev | line source |
---|---|
pankso@2212 | 1 # SliTaz package receipt. |
pankso@2212 | 2 |
pankso@2212 | 3 PACKAGE="dbus-python-dev" |
rcx@6001 | 4 VERSION="0.83.1" |
pankso@2212 | 5 CATEGORY="development" |
pankso@2212 | 6 SHORT_DESC="D-Bus python binding devel files." |
pankso@2212 | 7 WANTED="dbus-python" |
pankso@2212 | 8 MAINTAINER="pankso@slitaz.org" |
pankso@2212 | 9 WEB_SITE="http://freedesktop.org/wiki/Software/DBusBindings" |
pankso@2212 | 10 |
pankso@2212 | 11 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@2212 | 12 genpkg_rules() |
pankso@2212 | 13 { |
pascal@6592 | 14 PYTHON_LIB=$(grep ^VERSION= $WOK/python/receipt | sed 's/.*"\(...\).*/\1/') |
pascal@6592 | 15 mkdir -p $fs/usr/lib/$PYTHON_LIB/site-packages |
pankso@2212 | 16 cp -a $_pkg/usr/lib/python*/*/*.la \ |
pascal@6592 | 17 $fs/usr/lib/$PYTHON_LIB/site-packages |
pankso@2212 | 18 cp -a $_pkg/usr/lib/pkgconfig $fs/usr/lib |
pankso@2212 | 19 cp -a $_pkg/usr/include $fs/usr |
pankso@2212 | 20 } |