wok annotate gst-python/receipt @ rev 14043
alarm-clock: set WEB_SITE
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Mon Feb 18 17:40:16 2013 +0100 (2013-02-18) |
parents | 6ebd5d014ab8 |
children | 07082c1a3c4f |
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" |
slaxemulator@6869 | 8 TARBALL="$PACKAGE-$VERSION.tar.bz2" |
jozee@2674 | 9 WEB_SITE="http://gstreamer.freedesktop.org/" |
jozee@2674 | 10 WGET_URL="$WEB_SITE/src/$PACKAGE/$TARBALL" |
jozee@2674 | 11 |
pascal@14043 | 12 DEPENDS="pygobject gstreamer gst-plugins-base" |
pascal@14043 | 13 BUILD_DEPENDS="pygobject-dev gstreamer gstreamer-dev libxml2-dev liboil-dev \ |
pascal@14043 | 14 python-dev glib-dev gst-plugins-base-dev pkg-config lorcon-dev" |
pascal@14043 | 15 |
jozee@2674 | 16 # Rules to configure and make the package. |
jozee@2674 | 17 compile_rules() |
jozee@2674 | 18 { |
jozee@2674 | 19 cd $src |
slaxemulator@11187 | 20 ./configure --prefix=/usr \ |
slaxemulator@11187 | 21 --sysconfdir=/etc \ |
slaxemulator@11187 | 22 --localstatedir=/var \ |
slaxemulator@11187 | 23 $CONFIGURE_ARGS && |
jozee@2674 | 24 make && |
slaxemulator@11187 | 25 make DESTDIR=$DESTDIR install |
jozee@2674 | 26 } |
jozee@2674 | 27 |
jozee@2674 | 28 # Rules to gen a SliTaz package suitable for Tazpkg. |
jozee@2674 | 29 genpkg_rules() |
jozee@2674 | 30 { |
jozee@2674 | 31 mkdir -p $fs/usr/lib $fs/usr/share |
pascal@14043 | 32 cp -a $install/usr/share/$PACKAGE $fs/usr/share |
pascal@14043 | 33 cp -a $install/usr/lib/python* $fs/usr/lib |
jozee@2674 | 34 |
jozee@2674 | 35 } |