wok-6.x annotate gst-plugins-ugly/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 | 9f19aee613be |
children | 328ad128bd21 |
rev | line source |
---|---|
jozee@2674 | 1 # SliTaz package receipt. |
jozee@2674 | 2 |
jozee@2674 | 3 PACKAGE="gst-plugins-ugly" |
jozee@2674 | 4 VERSION="0.10.11" |
jozee@2674 | 5 CATEGORY="multimedia" |
jozee@2696 | 6 SHORT_DESC="GStreamer Ugly Plugins" |
jozee@2674 | 7 MAINTAINER="jozee@slitaz.org" |
pascal@5001 | 8 DEPENDS="libxml2 gst-plugins-base glib lame libcdio libdvdread libid3tag \ |
pascal@5001 | 9 libmad libmpeg2" |
jozee@2708 | 10 BUILD_DEPENDS="pkg-config gst-plugins-base gst-plugins-base-dev liboil-dev gstreamer-dev libxml2-dev glib-dev libcdio" |
jozee@2674 | 11 TARBALL="$PACKAGE-$VERSION.tar.gz" |
jozee@2674 | 12 WEB_SITE="http://gstreamer.freedesktop.org/" |
jozee@2674 | 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 |
jozee@2674 | 19 ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var && |
pascal@5784 | 20 make -j 4 && |
jozee@2696 | 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/lib/gstreamer* $fs/usr/lib |
jozee@2674 | 29 rm $fs/usr/lib/gstreamer*/*.*a |
jozee@2674 | 30 |
jozee@2674 | 31 } |