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