wok-stable annotate dbus-python/receipt @ rev 7165

Added linux-module-headers as a build depend for linmodem-intel-537.
author Christopher Rogers <slaxemulator@gmail.com>
date Sun Nov 07 12:32:10 2010 +0000 (2010-11-07)
parents 1327d60074b2
children c395af0ea481
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."
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 }