wok annotate dbus-python/receipt @ rev 10385
dbus-python: fix BUILD_DEPENDS
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Mon May 23 18:18:01 2011 +0200 (2011-05-23) |
parents | 17aae24bdce5 |
children | 44149159a946 |
rev | line source |
---|---|
pankso@2212 | 1 # SliTaz package receipt. |
pankso@2212 | 2 |
pankso@2212 | 3 PACKAGE="dbus-python" |
rcx@6001 | 4 VERSION="0.83.1" |
pankso@2212 | 5 CATEGORY="system-tools" |
pankso@2212 | 6 SHORT_DESC="D-Bus python binding." |
pankso@2212 | 7 MAINTAINER="pankso@slitaz.org" |
pankso@2212 | 8 TARBALL="$PACKAGE-$VERSION.tar.gz" |
pankso@2212 | 9 WEB_SITE="http://freedesktop.org/wiki/Software/DBusBindings" |
pankso@2212 | 10 WGET_URL="http://dbus.freedesktop.org/releases/dbus-python/$TARBALL" |
pankso@2212 | 11 |
pankso@10385 | 12 DEPENDS="dbus glib python dbus-glib" |
pankso@10385 | 13 BUILD_DEPENDS="dbus-dev glib-dev python-dev dbus-glib-dev" |
pankso@10385 | 14 |
pankso@2212 | 15 # Rules to configure and make the package. |
pankso@2212 | 16 compile_rules() |
pankso@2212 | 17 { |
pankso@2212 | 18 cd $src |
pankso@10385 | 19 ./configure $CONFIGURE_ARGS && |
pankso@10385 | 20 make && make install |
pankso@2212 | 21 } |
pankso@2212 | 22 |
pankso@2212 | 23 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@2212 | 24 genpkg_rules() |
pankso@2212 | 25 { |
pankso@2212 | 26 mkdir -p $fs/usr/lib |
pankso@2212 | 27 cp -a $_pkg/usr/lib/python* $fs/usr/lib |
pankso@2212 | 28 rm $fs/usr/lib/python*/*/*.la |
pankso@2212 | 29 } |