wok-6.x annotate gst-plugins-good/receipt @ rev 5784
Speedup some builds
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Jul 10 18:02:56 2010 +0200 (2010-07-10) |
parents | 116602ef2d27 |
children | 41b7536e63f5 |
rev | line source |
---|---|
jozee@2674 | 1 # SliTaz package receipt. |
jozee@2674 | 2 |
jozee@2674 | 3 PACKAGE="gst-plugins-good" |
jozee@2674 | 4 VERSION="0.10.14" |
jozee@2674 | 5 CATEGORY="multimedia" |
jozee@2674 | 6 SHORT_DESC="GStreamer Good Plugins" |
jozee@2674 | 7 MAINTAINER="jozee@slitaz.org" |
pascal@2851 | 8 DEPENDS="libxml2 gst-plugins-base gtk+ bzlib dbus flac hal libdv taglib \ |
pascal@2851 | 9 xorg-libXcomposite xorg-libXcursor xorg-libXfixes xorg-libXinerama \ |
pascal@5029 | 10 xorg-libXrandr xorg-libXrender GConf libsoup esound libavc1394 libiec61883 \ |
pascal@5029 | 11 libv4l libtasn1" |
jozee@2696 | 12 BUILD_DEPENDS="pkg-config gst-plugins-base gst-plugins-base-dev libogg-dev liboil-dev gstreamer-dev libxml2-dev glib-dev jpeg-dev" |
jozee@2674 | 13 TARBALL="$PACKAGE-$VERSION.tar.gz" |
jozee@2674 | 14 WEB_SITE="http://gstreamer.freedesktop.org/" |
jozee@2674 | 15 WGET_URL="$WEB_SITE/src/$PACKAGE/$TARBALL" |
jozee@2674 | 16 |
jozee@2674 | 17 # Rules to configure and make the package. |
jozee@2674 | 18 compile_rules() |
jozee@2674 | 19 { |
jozee@2674 | 20 cd $src |
jozee@2674 | 21 ./configure \ |
jozee@2674 | 22 --prefix=/usr --sysconfdir=/etc --localstatedir=/var \ |
jozee@2709 | 23 --enable-experimental --disable-static --disable-speex && |
pascal@5784 | 24 make -j 4 && |
jozee@2674 | 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 $fs/usr/share |
jozee@2674 | 32 cp -a $_pkg/usr/lib/gstreamer* $fs/usr/lib |
jozee@2674 | 33 cp -a $_pkg/usr/share/gstreamer* $fs/usr/share |
jozee@2674 | 34 rm $fs/usr/lib/gstreamer*/*.*a |
jozee@2674 | 35 |
jozee@2674 | 36 } |