wok-6.x annotate gst-python/receipt @ rev 15265

Up cookutils (3.1.7)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Wed Sep 25 09:50:51 2013 +0000 (2013-09-25)
parents 201790380987
children 16df76e1fc6a
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"
domcox@14484 10 WEB_SITE="http://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"
domcox@14484 14 BUILD_DEPENDS="pygobject-dev gstreamer-dev gst-plugins-base-dev libxml2-dev
domcox@14484 15 python-dev pkg-config"
pascal@14043 16
jozee@2674 17 # Rules to configure and make the package.
jozee@2674 18 compile_rules()
jozee@2674 19 {
jozee@2674 20 cd $src
slaxemulator@11187 21 ./configure --prefix=/usr \
slaxemulator@11187 22 --sysconfdir=/etc \
slaxemulator@11187 23 --localstatedir=/var \
pascal@15265 24 $CONFIGURE_ARGS &&
jozee@2674 25 make &&
slaxemulator@11187 26 make DESTDIR=$DESTDIR install
jozee@2674 27 }
jozee@2674 28
jozee@2674 29 # Rules to gen a SliTaz package suitable for Tazpkg.
jozee@2674 30 genpkg_rules()
jozee@2674 31 {
jozee@2674 32 mkdir -p $fs/usr/lib $fs/usr/share
pascal@14043 33 cp -a $install/usr/share/$PACKAGE $fs/usr/share
domcox@14484 34 cp -a $install/usr/lib/python* $fs/usr/lib
jozee@2674 35 }