# SliTaz package receipt.

PACKED_SIZE="76.0K"
UNPACKED_SIZE="376.0K"
PACKAGE="dbus-python"
VERSION="1.1.1"
CATEGORY="system-tools"
SHORT_DESC="D-Bus python binding."
MAINTAINER="pankso@slitaz.org"
LICENSE="GPL2"
TARBALL="$PACKAGE-$VERSION.tar.gz"
WEB_SITE="http://freedesktop.org/wiki/Software/DBusBindings"
WGET_URL="http://dbus.freedesktop.org/releases/dbus-python/$TARBALL"

DEPENDS="dbus glib libgio python dbus-glib"
BUILD_DEPENDS="dbus-dev glib-dev libgio-dev python-dev dbus-glib-dev"

# Rules to configure and make the package.
compile_rules()
{
	./configure $CONFIGURE_ARGS &&
	make && make install
}

# Rules to gen a SliTaz package suitable for Tazpkg.
genpkg_rules()
{
	mkdir -p $fs/usr/lib
	cp -a $install/usr/lib/python* $fs/usr/lib
	rm $fs/usr/lib/python*/*/*.la
}
