wok-current view dbus-python/receipt @ rev 9338

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