SliTaz Packages

Community Doc Forum Pro Shop Bugs Hg
.

Receipt for package "dbus-python"

# SliTaz package receipt.

PACKAGE="dbus-python"
VERSION="1.2.14"
CATEGORY="system-tools"
SHORT_DESC="D-Bus python binding."
MAINTAINER="pankso@slitaz.org"
LICENSE="GPL2"
WEB_SITE="https://freedesktop.org/wiki/Software/DBusBindings/"

TARBALL="$PACKAGE-$VERSION.tar.gz"
WGET_URL="https://dbus.freedesktop.org/releases/dbus-python/$TARBALL"

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

# What is the latest version available today?
current_version()
{
    wget -O - ${WGET_URL%/*} 2>/dev/null | \
    sed "/latest/d;/$PACKAGE-[0-9]/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q
}

# 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
}
5935 packages and 845883 files in cooking database (Thu Jun 27 00:01:54 2024)