wok-next annotate gst-plugins-base/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 | 7cef8fc27566 |
children | b08597f40105 |
rev | line source |
---|---|
jozee@2674 | 1 # SliTaz package receipt. |
jozee@2674 | 2 |
jozee@2674 | 3 PACKAGE="gst-plugins-base" |
jozee@2674 | 4 VERSION="0.10.22" |
jozee@2674 | 5 CATEGORY="multimedia" |
jozee@2674 | 6 SHORT_DESC="GStreamer Base Plugins" |
jozee@2674 | 7 MAINTAINER="jozee@slitaz.org" |
pascal@2861 | 8 DEPENDS="libxml2 alsa-lib cdparanoia-III libvorbis libtheora gstreamer liboil \ |
pascal@2861 | 9 libtheora-enc fontconfig libgio pango xorg-libICE xorg-libSM xorg-libXau \ |
pascal@2861 | 10 xorg-libXdmcp xorg-libXext xorg-libXv" |
jozee@2694 | 11 BUILD_DEPENDS="pkg-config glib-dev alsa-lib-dev liboil liboil-dev gstreamer gstreamer-dev libtheora-enc libtheora-dev libvorbis-dev cdparanoia-III-dev libxml2-dev" |
jozee@2674 | 12 TARBALL="$PACKAGE-$VERSION.tar.gz" |
jozee@2674 | 13 WEB_SITE="http://gstreamer.freedesktop.org/" |
jozee@2674 | 14 WGET_URL="$WEB_SITE/src/gst-plugins-base/$TARBALL" |
jozee@2674 | 15 |
jozee@2674 | 16 # Rules to configure and make the package. |
jozee@2674 | 17 compile_rules() |
jozee@2674 | 18 { |
jozee@2674 | 19 cd $src |
jozee@2674 | 20 ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var \ |
jozee@2674 | 21 --enable-experimental && |
pascal@5784 | 22 make -j 4 && |
jozee@2674 | 23 make DESTDIR=$PWD/_pkg install |
jozee@2674 | 24 mkdir -p $PWD/_pkg/usr/bin/ |
jozee@2674 | 25 } |
jozee@2674 | 26 |
jozee@2674 | 27 # Rules to gen a SliTaz package suitable for Tazpkg. |
jozee@2674 | 28 genpkg_rules() |
jozee@2674 | 29 { |
jozee@2674 | 30 mkdir -p $fs/usr/lib |
jozee@2674 | 31 cp -a $_pkg/usr/bin $fs/usr |
jozee@2674 | 32 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib |
jozee@2674 | 33 cp -a $_pkg/usr/lib/gstreamer* $fs/usr/lib |
jozee@2674 | 34 rm $fs/usr/lib/gstreamer*/*.*a |
jozee@2674 | 35 |
jozee@2674 | 36 } |