wok annotate dbus-python/receipt @ rev 10908
mpd: add init script (thanks Mali)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Tue Jul 26 11:44:53 2011 +0200 (2011-07-26) |
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 } |