wok view dbus-python/receipt @ rev 18077

Rebuild Python packages to remove "*.pyc" files from package.lists (part 1).
author Aleksej Bobylev <al.bobylev@gmail.com>
date Fri May 22 17:34:18 2015 +0300 (2015-05-22)
parents eb8067417980
children f8e190dcc90f
line source
1 # SliTaz package receipt.
3 PACKAGE="dbus-python"
4 VERSION="1.1.1"
5 CATEGORY="system-tools"
6 SHORT_DESC="D-Bus python binding."
7 MAINTAINER="pankso@slitaz.org"
8 LICENSE="GPL2"
9 TARBALL="$PACKAGE-$VERSION.tar.gz"
10 WEB_SITE="http://freedesktop.org/wiki/Software/DBusBindings"
11 WGET_URL="http://dbus.freedesktop.org/releases/dbus-python/$TARBALL"
13 DEPENDS="dbus glib libgio python dbus-glib"
14 BUILD_DEPENDS="dbus-dev glib-dev libgio-dev python-dev dbus-glib-dev"
16 # Rules to configure and make the package.
17 compile_rules()
18 {
19 ./configure $CONFIGURE_ARGS &&
20 make && make install
21 }
23 # Rules to gen a SliTaz package suitable for Tazpkg.
24 genpkg_rules()
25 {
26 mkdir -p $fs/usr/lib
27 cp -a $install/usr/lib/python* $fs/usr/lib
28 rm $fs/usr/lib/python*/*/*.la
29 }