SliTaz Packages

Community Doc Forum Pro Shop Bugs Hg
.

Receipt for package "gst-python"

# SliTaz package receipt.

PACKAGE="gst-python"
VERSION="0.10.21"
CATEGORY="multimedia"
SHORT_DESC="GStreamer Python Plugins"
MAINTAINER="jozee@slitaz.org"
LICENSE="LGPL2.1"
TARBALL="$PACKAGE-$VERSION.tar.bz2"
WEB_SITE="https://gstreamer.freedesktop.org/"
WGET_URL="$WEB_SITE/src/$PACKAGE/$TARBALL"

DEPENDS="pygobject gstreamer gst-plugins-base"
BUILD_DEPENDS="pygobject-dev gstreamer-dev gst-plugins-base-dev libxml2-dev \
python-dev pkg-config"

current_version()
{
    wget -O - https://gstreamer.freedesktop.org/src/$PACKAGE/ 2>/dev/null | \
    sed '/tar/!d;s|.*'$PACKAGE'-||;s|.tar.*||' | sed '$!d'
}

# Rules to configure and make the package.
compile_rules()
{
    ./configure --prefix=/usr \
        --sysconfdir=/etc \
        --localstatedir=/var \
        $CONFIGURE_ARGS &&
    make &&
    make DESTDIR=$DESTDIR install
}

# Rules to gen a SliTaz package suitable for Tazpkg.
genpkg_rules()
{
    mkdir -p $fs/usr/lib $fs/usr/share
    cp -a $install/usr/share/$PACKAGE $fs/usr/share
    cp -a $install/usr/lib/python* $fs/usr/lib
}
6063 packages and 233209 files in current database (Sat Dec 21 00:00:03 2024)