wok view gst-python/receipt @ rev 24210
properly renamed perl-file-rsync to perl-file-rsyncp
author | Hans-G?nter Theisgen |
---|---|
date | Fri Dec 31 15:55:26 2021 +0100 (2021-12-31) |
parents | a78610b2eb47 |
children |
line source
1 # SliTaz package receipt.
3 PACKAGE="gst-python"
4 VERSION="0.10.21"
5 CATEGORY="multimedia"
6 SHORT_DESC="GStreamer Python Plugins"
7 MAINTAINER="jozee@slitaz.org"
8 LICENSE="LGPL2.1"
9 TARBALL="$PACKAGE-$VERSION.tar.bz2"
10 WEB_SITE="https://gstreamer.freedesktop.org/"
11 WGET_URL="$WEB_SITE/src/$PACKAGE/$TARBALL"
13 DEPENDS="pygobject gstreamer gst-plugins-base"
14 BUILD_DEPENDS="pygobject-dev gstreamer-dev gst-plugins-base-dev libxml2-dev \
15 python-dev pkg-config"
17 current_version()
18 {
19 wget -O - https://gstreamer.freedesktop.org/src/$PACKAGE/ 2>/dev/null | \
20 sed '/tar/!d;s|.*'$PACKAGE'-||;s|.tar.*||' | sed '$!d'
21 }
23 # Rules to configure and make the package.
24 compile_rules()
25 {
26 ./configure --prefix=/usr \
27 --sysconfdir=/etc \
28 --localstatedir=/var \
29 $CONFIGURE_ARGS &&
30 make &&
31 make DESTDIR=$DESTDIR install
32 }
34 # Rules to gen a SliTaz package suitable for Tazpkg.
35 genpkg_rules()
36 {
37 mkdir -p $fs/usr/lib $fs/usr/share
38 cp -a $install/usr/share/$PACKAGE $fs/usr/share
39 cp -a $install/usr/lib/python* $fs/usr/lib
40 }