wok-current annotate gst-plugins-bad/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 | 23e635893e0e |
rev | line source |
---|---|
jozee@2674 | 1 # SliTaz package receipt. |
jozee@2674 | 2 |
jozee@2674 | 3 PACKAGE="gst-plugins-bad" |
jozee@2674 | 4 VERSION="0.10.11" |
jozee@2674 | 5 CATEGORY="multimedia" |
jozee@2674 | 6 SHORT_DESC="GStreamer Bad Plugins" |
jozee@2674 | 7 MAINTAINER="jozee@slitaz.org" |
pankso@3425 | 8 DEPENDS="libxml2 gst-plugins-base bzlib flac libsdl libcomerr openssl libexif \ |
pascal@5029 | 9 libkrb5 libmodplug libsndfile expat neon libcomerr3 faac faad2 libmms jasper \ |
pascal@5029 | 10 mjpegtools" |
jozee@2707 | 11 BUILD_DEPENDS="pkg-config glib-dev gst-plugins-base gst-plugins-base-dev liboil-dev gstreamer-dev libxml2-dev libmodplug" |
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-bad/$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 --enable-experimental && |
pascal@5784 | 21 make -j 4 && |
jozee@2695 | 22 make DESTDIR=$PWD/_pkg install |
jozee@2674 | 23 } |
jozee@2674 | 24 |
jozee@2674 | 25 # Rules to gen a SliTaz package suitable for Tazpkg. |
jozee@2674 | 26 genpkg_rules() |
jozee@2674 | 27 { |
jozee@2674 | 28 mkdir -p $fs/usr/lib |
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 rm $fs/usr/lib/gstreamer*/*.*a |
jozee@2674 | 32 |
jozee@2674 | 33 } |