wok-4.x annotate dbus-python/receipt @ rev 2306
lighttpd: backup config files
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Tue Feb 24 23:20:43 2009 +0100 (2009-02-24) |
parents | |
children | 1327d60074b2 |
rev | line source |
---|---|
pankso@2212 | 1 # SliTaz package receipt. |
pankso@2212 | 2 |
pankso@2212 | 3 PACKAGE="dbus-python" |
pankso@2212 | 4 VERSION="0.83.0" |
pankso@2212 | 5 CATEGORY="system-tools" |
pankso@2212 | 6 SHORT_DESC="D-Bus python binding." |
pankso@2212 | 7 DEPENDS="dbus glib python" |
pankso@2212 | 8 BUILD_DEPENDS="$DEPENDS dbus-dev glib-dev python-dev" |
pankso@2212 | 9 MAINTAINER="pankso@slitaz.org" |
pankso@2212 | 10 TARBALL="$PACKAGE-$VERSION.tar.gz" |
pankso@2212 | 11 WEB_SITE="http://freedesktop.org/wiki/Software/DBusBindings" |
pankso@2212 | 12 WGET_URL="http://dbus.freedesktop.org/releases/dbus-python/$TARBALL" |
pankso@2212 | 13 |
pankso@2212 | 14 # Rules to configure and make the package. |
pankso@2212 | 15 compile_rules() |
pankso@2212 | 16 { |
pankso@2212 | 17 cd $src |
pankso@2212 | 18 ./configure \ |
pankso@2212 | 19 --prefix=/usr \ |
pankso@2212 | 20 --mandir=/usr/share/man \ |
pankso@2212 | 21 $CONFIGURE_ARGS && |
pankso@2212 | 22 make && |
pankso@2212 | 23 make DESTDIR=$PWD/_pkg install |
pankso@2212 | 24 } |
pankso@2212 | 25 |
pankso@2212 | 26 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@2212 | 27 genpkg_rules() |
pankso@2212 | 28 { |
pankso@2212 | 29 mkdir -p $fs/usr/lib |
pankso@2212 | 30 cp -a $_pkg/usr/lib/python* $fs/usr/lib |
pankso@2212 | 31 rm $fs/usr/lib/python*/*/*.la |
pankso@2212 | 32 } |