wok annotate dbus-python/receipt @ rev 5657

Up: libogg (1.2.0)
author Alexander Medvedev <devl547@gmail.com>
date Sun May 30 02:45:16 2010 +0000 (2010-05-30)
parents deb8d82727bb
children 17aae24bdce5
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."
pascal@2488 7 DEPENDS="dbus glib python dbus-glib"
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 }