wok diff gst-plugins-ugly/receipt @ rev 2674

Add everything for Gstreamer Framework
author Rohit Joshi <jozee@slitaz.org>
date Tue Apr 21 12:33:49 2009 +0000 (2009-04-21)
parents
children 931d18e7b809
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/gst-plugins-ugly/receipt	Tue Apr 21 12:33:49 2009 +0000
     1.3 @@ -0,0 +1,33 @@
     1.4 +# SliTaz package receipt.
     1.5 +
     1.6 +PACKAGE="gst-plugins-ugly"
     1.7 +VERSION="0.10.11"
     1.8 +CATEGORY="multimedia"
     1.9 +SHORT_DESC="GStreamer Bad Plugins"
    1.10 +MAINTAINER="jozee@slitaz.org"
    1.11 +DEPENDS="libxml2 gst-plugins-base"
    1.12 +BUILD_DEPENDS="pkg-config gst-plugins-base gst-plugins-base-dev"
    1.13 +TARBALL="$PACKAGE-$VERSION.tar.gz"
    1.14 +WEB_SITE="http://gstreamer.freedesktop.org/" 
    1.15 +WGET_URL="$WEB_SITE/src/$PACKAGE/$TARBALL"
    1.16 +
    1.17 +# Rules to configure and make the package.
    1.18 +compile_rules()
    1.19 +{
    1.20 +	cd $src
    1.21 +	./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var &&
    1.22 +	make &&
    1.23 +	make DESTDIR=$PWD/_pkg install
    1.24 +	mkdir -p $PWD/_pkg/usr/bin/	
    1.25 +}
    1.26 +
    1.27 +# Rules to gen a SliTaz package suitable for Tazpkg.
    1.28 +genpkg_rules()
    1.29 +{
    1.30 +	mkdir -p $fs/usr/lib
    1.31 +	cp -a $_pkg/usr/bin $fs/usr
    1.32 +	cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
    1.33 +	cp -a $_pkg/usr/lib/gstreamer* $fs/usr/lib
    1.34 +	rm $fs/usr/lib/gstreamer*/*.*a
    1.35 +
    1.36 +}