wok-current annotate gst-plugins-bad/receipt @ rev 10255
Add rake.
author | Christopher Rogers <slaxemulator@gmail.com> |
---|---|
date | Sat May 21 04:00:00 2011 +0000 (2011-05-21) |
parents | f19556aebbff |
children | 8e4c74abdf74 |
rev | line source |
---|---|
jozee@2674 | 1 # SliTaz package receipt. |
jozee@2674 | 2 |
jozee@2674 | 3 PACKAGE="gst-plugins-bad" |
slaxemulator@10118 | 4 VERSION="0.10.22" |
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" |
slaxemulator@6757 | 12 TARBALL="$PACKAGE-$VERSION.tar.bz2" |
jozee@2674 | 13 WEB_SITE="http://gstreamer.freedesktop.org/" |
slaxemulator@6757 | 14 WGET_URL="$WEB_SITE/src/$PACKAGE/$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 |
slaxemulator@10118 | 20 ./configure --prefix=/usr --sysconfdir=/etc \ |
slaxemulator@10118 | 21 --localstatedir=/var --enable-experimental $CONFIGURE_ARGS && |
pascal@5784 | 22 make -j 4 && |
slaxemulator@10118 | 23 make install |
jozee@2674 | 24 } |
jozee@2674 | 25 |
jozee@2674 | 26 # Rules to gen a SliTaz package suitable for Tazpkg. |
jozee@2674 | 27 genpkg_rules() |
jozee@2674 | 28 { |
jozee@2674 | 29 mkdir -p $fs/usr/lib |
jozee@2674 | 30 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib |
jozee@2674 | 31 cp -a $_pkg/usr/lib/gstreamer* $fs/usr/lib |
jozee@2674 | 32 rm $fs/usr/lib/gstreamer*/*.*a |
jozee@2674 | 33 |
jozee@2674 | 34 } |