wok-stable annotate gst-plugins-ugly/receipt @ rev 10772
Trying to make a tazdev-like receip with source from slitaz-dev-tools, in order to get yaff cooked properly
author | Babaorum |
---|---|
date | Tue May 31 21:49:58 2011 +0100 (2011-05-31) |
parents | 9f3effe71921 |
children | b7319995b37e |
rev | line source |
---|---|
jozee@2674 | 1 # SliTaz package receipt. |
jozee@2674 | 2 |
jozee@2674 | 3 PACKAGE="gst-plugins-ugly" |
slaxemulator@10119 | 4 VERSION="0.10.18" |
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" |
slaxemulator@6758 | 11 TARBALL="$PACKAGE-$VERSION.tar.bz2" |
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 |
slaxemulator@10120 | 19 ./configure --prefix=/usr --sysconfdir=/etc \ |
slaxemulator@10119 | 20 --localstatedir=/var $CONFIGUGE_ARGS && |
pascal@5784 | 21 make -j 4 && |
slaxemulator@10119 | 22 make 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/gstreamer* $fs/usr/lib |
jozee@2674 | 30 rm $fs/usr/lib/gstreamer*/*.*a |
jozee@2674 | 31 |
jozee@2674 | 32 } |