wok-next annotate gst-ffmpeg/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 bd1fd9042631
rev   line source
jozee@2674 1 # SliTaz package receipt.
jozee@2674 2
jozee@2674 3 PACKAGE="gst-ffmpeg"
jozee@2674 4 VERSION="0.10.6"
jozee@2674 5 CATEGORY="multimedia"
jozee@2674 6 SHORT_DESC="GStreamer FFmpeg Plugins"
jozee@2674 7 MAINTAINER="jozee@slitaz.org"
jozee@2674 8 DEPENDS="gstreamer gst-plugins-base ffmpeg"
jozee@2674 9 BUILD_DEPENDS="pkg-config gstreamer-dev gst-plugins-base-dev ffmpeg-dev"
jozee@2674 10 TARBALL="$PACKAGE-$VERSION.tar.gz"
jozee@2674 11 WEB_SITE="http://gstreamer.freedesktop.org/"
jozee@2674 12 WGET_URL="$WEB_SITE/src/$PACKAGE/$TARBALL"
jozee@2674 13
jozee@2674 14 # Rules to configure and make the package.
jozee@2674 15 compile_rules()
jozee@2674 16 {
jozee@2674 17 cd $src
jozee@2674 18 ./configure \
jozee@2674 19 --prefix=/usr \
jozee@2674 20 --with-system-ffmpeg &&
jozee@2674 21 make &&
jozee@2674 22 make DESTDIR=$PWD/_pkg 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 }