wok annotate gst-python/receipt @ rev 24704
updated lapack (3.4.0 -> 3.10.0)
author | Hans-G?nter Theisgen |
---|---|
date | Mon Mar 14 14:46:55 2022 +0100 (2022-03-14) |
parents | a78610b2eb47 |
children |
rev | line source |
---|---|
jozee@2674 | 1 # SliTaz package receipt. |
jozee@2674 | 2 |
jozee@2674 | 3 PACKAGE="gst-python" |
slaxemulator@8416 | 4 VERSION="0.10.21" |
jozee@2674 | 5 CATEGORY="multimedia" |
jozee@2674 | 6 SHORT_DESC="GStreamer Python Plugins" |
jozee@2674 | 7 MAINTAINER="jozee@slitaz.org" |
pascal@14996 | 8 LICENSE="LGPL2.1" |
slaxemulator@6869 | 9 TARBALL="$PACKAGE-$VERSION.tar.bz2" |
pascal@20669 | 10 WEB_SITE="https://gstreamer.freedesktop.org/" |
jozee@2674 | 11 WGET_URL="$WEB_SITE/src/$PACKAGE/$TARBALL" |
jozee@2674 | 12 |
pascal@14043 | 13 DEPENDS="pygobject gstreamer gst-plugins-base" |
al@18077 | 14 BUILD_DEPENDS="pygobject-dev gstreamer-dev gst-plugins-base-dev libxml2-dev \ |
domcox@14484 | 15 python-dev pkg-config" |
pascal@14043 | 16 |
pascal@24070 | 17 current_version() |
pascal@24070 | 18 { |
pascal@24070 | 19 wget -O - https://gstreamer.freedesktop.org/src/$PACKAGE/ 2>/dev/null | \ |
pascal@24070 | 20 sed '/tar/!d;s|.*'$PACKAGE'-||;s|.tar.*||' | sed '$!d' |
pascal@24070 | 21 } |
pascal@24070 | 22 |
jozee@2674 | 23 # Rules to configure and make the package. |
jozee@2674 | 24 compile_rules() |
jozee@2674 | 25 { |
slaxemulator@11187 | 26 ./configure --prefix=/usr \ |
slaxemulator@11187 | 27 --sysconfdir=/etc \ |
slaxemulator@11187 | 28 --localstatedir=/var \ |
pascal@15265 | 29 $CONFIGURE_ARGS && |
jozee@2674 | 30 make && |
slaxemulator@11187 | 31 make DESTDIR=$DESTDIR install |
jozee@2674 | 32 } |
jozee@2674 | 33 |
jozee@2674 | 34 # Rules to gen a SliTaz package suitable for Tazpkg. |
jozee@2674 | 35 genpkg_rules() |
jozee@2674 | 36 { |
jozee@2674 | 37 mkdir -p $fs/usr/lib $fs/usr/share |
pascal@14043 | 38 cp -a $install/usr/share/$PACKAGE $fs/usr/share |
domcox@14484 | 39 cp -a $install/usr/lib/python* $fs/usr/lib |
jozee@2674 | 40 } |