wok-next annotate gstreamer/receipt @ rev 10002
tazdrop: fix version (use slitaz-tools one)
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Thu May 19 01:36:49 2011 +0200 (2011-05-19) |
parents | 955ef520b5bf |
children | beb75c582d6c |
rev | line source |
---|---|
jozee@2674 | 1 # SliTaz package receipt. |
jozee@2674 | 2 |
jozee@2674 | 3 PACKAGE="gstreamer" |
slaxemulator@8071 | 4 VERSION="0.10.32" |
jozee@2674 | 5 CATEGORY="multimedia" |
jozee@2674 | 6 SHORT_DESC="GStreamer Multimedia Framework" |
jozee@2674 | 7 MAINTAINER="jozee@slitaz.org" |
pascal@2852 | 8 DEPENDS="libxml2 glib" |
pankso@4068 | 9 BUILD_DEPENDS="intltool pkg-config bison flex glib-dev libxml2-dev python |
slaxemulator@6769 | 10 python-dev m4 libgio-dev gobject-introspection-dev" |
jozee@2674 | 11 TARBALL="$PACKAGE-$VERSION.tar.bz2" |
pankso@4068 | 12 WEB_SITE="http://gstreamer.freedesktop.org/" |
slaxemulator@6769 | 13 WGET_URL="$WEB_SITE/src/$PACKAGE/$TARBALL" |
jozee@2674 | 14 |
jozee@2674 | 15 # Rules to configure and make the package. |
jozee@2674 | 16 compile_rules() |
jozee@2674 | 17 { |
jozee@2674 | 18 cd $src |
pankso@4068 | 19 ./configure \ |
pankso@4068 | 20 --prefix=/usr \ |
pankso@4068 | 21 --sysconfdir=/etc \ |
pankso@4068 | 22 --localstatedir=/var \ |
pankso@4068 | 23 --disable-docs-build && |
slaxemulator@6365 | 24 make -j 4 && |
pankso@4068 | 25 make DESTDIR=$PWD/_pkg 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 |
jozee@2674 | 32 cp -a $_pkg/usr/bin $fs/usr |
jozee@2674 | 33 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib |
jozee@2674 | 34 cp -a $_pkg/usr/lib/gstreamer* $fs/usr/lib |
jozee@2674 | 35 } |