wok-stable annotate gst-plugins-ugly/receipt @ rev 7613

Add fakeroot. Gives a fake root enviroment, useful for building packages as a non-privileged user.
author Christopher Rogers <slaxemulator@gmail.com>
date Sat Dec 11 21:32:22 2010 +0000 (2010-12-11)
parents 328ad128bd21
children 4238373f947a
rev   line source
jozee@2674 1 # SliTaz package receipt.
jozee@2674 2
jozee@2674 3 PACKAGE="gst-plugins-ugly"
slaxemulator@6758 4 VERSION="0.10.16"
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
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 }