# HG changeset patch # User Christophe Lincoln # Date 1234369898 -3600 # Node ID deb8d82727bb31541976011c7a439123056ded48 # Parent b6aafa8cf4989fe7d0c94e3d3dc4d7ecc0a12d8d Add dbus-python (used by hplip) diff -r b6aafa8cf498 -r deb8d82727bb dbus-python-dev/receipt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/dbus-python-dev/receipt Wed Feb 11 17:31:38 2009 +0100 @@ -0,0 +1,19 @@ +# SliTaz package receipt. + +PACKAGE="dbus-python-dev" +VERSION="0.83.0" +CATEGORY="development" +SHORT_DESC="D-Bus python binding devel files." +WANTED="dbus-python" +MAINTAINER="pankso@slitaz.org" +WEB_SITE="http://freedesktop.org/wiki/Software/DBusBindings" + +# Rules to gen a SliTaz package suitable for Tazpkg. +genpkg_rules() +{ + mkdir -p $fs/usr/lib/python2.5/site-packages + cp -a $_pkg/usr/lib/python*/*/*.la \ + $fs/usr/lib/python2.5/site-packages + cp -a $_pkg/usr/lib/pkgconfig $fs/usr/lib + cp -a $_pkg/usr/include $fs/usr +} diff -r b6aafa8cf498 -r deb8d82727bb dbus-python/receipt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/dbus-python/receipt Wed Feb 11 17:31:38 2009 +0100 @@ -0,0 +1,32 @@ +# SliTaz package receipt. + +PACKAGE="dbus-python" +VERSION="0.83.0" +CATEGORY="system-tools" +SHORT_DESC="D-Bus python binding." +DEPENDS="dbus glib python" +BUILD_DEPENDS="$DEPENDS dbus-dev glib-dev python-dev" +MAINTAINER="pankso@slitaz.org" +TARBALL="$PACKAGE-$VERSION.tar.gz" +WEB_SITE="http://freedesktop.org/wiki/Software/DBusBindings" +WGET_URL="http://dbus.freedesktop.org/releases/dbus-python/$TARBALL" + +# Rules to configure and make the package. +compile_rules() +{ + cd $src + ./configure \ + --prefix=/usr \ + --mandir=/usr/share/man \ + $CONFIGURE_ARGS && + make && + make DESTDIR=$PWD/_pkg install +} + +# Rules to gen a SliTaz package suitable for Tazpkg. +genpkg_rules() +{ + mkdir -p $fs/usr/lib + cp -a $_pkg/usr/lib/python* $fs/usr/lib + rm $fs/usr/lib/python*/*/*.la +}