wok-current annotate dbus-python/receipt @ rev 17035
slitaz-configs-base: use chroot in post_install()
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Mon Aug 18 08:45:31 2014 +0000 (2014-08-18) |
parents | c1481e1d02ec |
children | 16df76e1fc6a |
rev | line source |
---|---|
pankso@2212 | 1 # SliTaz package receipt. |
pankso@2212 | 2 |
pankso@2212 | 3 PACKAGE="dbus-python" |
monghitri@13965 | 4 VERSION="1.1.1" |
pankso@2212 | 5 CATEGORY="system-tools" |
pankso@2212 | 6 SHORT_DESC="D-Bus python binding." |
pankso@2212 | 7 MAINTAINER="pankso@slitaz.org" |
pascal@15579 | 8 LICENSE="GPL2" |
pankso@2212 | 9 TARBALL="$PACKAGE-$VERSION.tar.gz" |
pankso@2212 | 10 WEB_SITE="http://freedesktop.org/wiki/Software/DBusBindings" |
pankso@2212 | 11 WGET_URL="http://dbus.freedesktop.org/releases/dbus-python/$TARBALL" |
pankso@2212 | 12 |
pankso@12495 | 13 DEPENDS="dbus glib libgio python dbus-glib" |
pankso@12495 | 14 BUILD_DEPENDS="dbus-dev glib-dev libgio-dev python-dev dbus-glib-dev" |
pankso@10385 | 15 |
pankso@2212 | 16 # Rules to configure and make the package. |
pankso@2212 | 17 compile_rules() |
pankso@2212 | 18 { |
pankso@2212 | 19 cd $src |
pankso@10385 | 20 ./configure $CONFIGURE_ARGS && |
pankso@10385 | 21 make && make install |
pankso@2212 | 22 } |
pankso@2212 | 23 |
pankso@2212 | 24 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@2212 | 25 genpkg_rules() |
pankso@2212 | 26 { |
pankso@2212 | 27 mkdir -p $fs/usr/lib |
slaxemulator@11091 | 28 cp -a $install/usr/lib/python* $fs/usr/lib |
pankso@2212 | 29 rm $fs/usr/lib/python*/*/*.la |
pankso@2212 | 30 } |