wok-stable annotate gstreamer/receipt @ rev 2712
Apache: do not load some modules twice
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu Apr 23 09:38:41 2009 +0200 (2009-04-23) |
parents | b69fa54df055 |
children | 782032535663 |
rev | line source |
---|---|
jozee@2674 | 1 # SliTaz package receipt. |
jozee@2674 | 2 |
jozee@2674 | 3 PACKAGE="gstreamer" |
jozee@2674 | 4 VERSION="0.10.22" |
jozee@2674 | 5 CATEGORY="multimedia" |
jozee@2674 | 6 SHORT_DESC="GStreamer Multimedia Framework" |
jozee@2674 | 7 MAINTAINER="jozee@slitaz.org" |
jozee@2674 | 8 DEPENDS="libxml2" |
jozee@2692 | 9 BUILD_DEPENDS="intltool pkg-config bison flex glib-dev libxml2-dev python python-dev m4" |
jozee@2674 | 10 TARBALL="$PACKAGE-$VERSION.tar.bz2" |
jozee@2674 | 11 WEB_SITE="http://gstreamer.freedesktop.org/" |
jozee@2674 | 12 WGET_URL="$WEB_SITE/src/gstreamer/$TARBALL" |
jozee@2674 | 13 |
jozee@2674 | 14 # Rules to configure and make the package. |
jozee@2674 | 15 compile_rules() |
jozee@2674 | 16 { |
jozee@2674 | 17 cd $src |
jozee@2674 | 18 ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var \ |
jozee@2674 | 19 --disable-docs-build && |
jozee@2692 | 20 make && |
jozee@2692 | 21 make DESTDIR=$PWD/_pkg install |
jozee@2674 | 22 } |
jozee@2674 | 23 |
jozee@2674 | 24 # Rules to gen a SliTaz package suitable for Tazpkg. |
jozee@2674 | 25 genpkg_rules() |
jozee@2674 | 26 { |
jozee@2674 | 27 mkdir -p $fs/usr/lib |
jozee@2674 | 28 cp -a $_pkg/usr/bin $fs/usr |
jozee@2674 | 29 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib |
jozee@2674 | 30 cp -a $_pkg/usr/lib/gstreamer* $fs/usr/lib |
jozee@2674 | 31 |
jozee@2674 | 32 } |