wok-next annotate gst-plugins-ugly/receipt @ rev 13777
slitaz-tools: fix 5.2 Makefile
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu Jan 03 15:23:18 2013 +0100 (2013-01-03) |
parents | c257a8281d43 |
children | af2925c7b346 |
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 \ |
gokhlayeh@11573 | 20 --localstatedir=/var $CONFIGURE_ARGS && |
gokhlayeh@11573 | 21 make $MAKEFLAGS && |
gokhlayeh@11573 | 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 } |