wok-6.x annotate gst-ffmpeg/receipt @ rev 3235
Add: Zim
author | Paul Issott <paul@slitaz.org> |
---|---|
date | Fri May 29 19:37:38 2009 +0000 (2009-05-29) |
parents | fee4476bdf6a |
children | 2c679ce49f4c |
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" |
pascal@2845 | 8 DEPENDS="gstreamer gst-plugins-base ffmpeg glib" |
pascal@2938 | 9 BUILD_DEPENDS="pkg-config gst-plugins-base-dev liboil-dev gstreamer-dev libxml2-dev glib-dev ffmpeg-dev bzip2-dev libiconv-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@2912 | 15 # Add --with-system-ffmpeg from ./configure for compiling with shared FFmpeg. |
jozee@2697 | 16 # need atleast version 18330 for shared ffmpeg |
jozee@2674 | 17 compile_rules() |
jozee@2674 | 18 { |
jozee@2674 | 19 cd $src |
pascal@2938 | 20 sed -i 's/pr -. -t/cat/' gst-libs/ext/ffmpeg/configure |
jozee@2912 | 21 ./configure --prefix=/usr && |
jozee@2674 | 22 make && |
jozee@2674 | 23 make DESTDIR=$PWD/_pkg install |
jozee@2674 | 24 } |
jozee@2674 | 25 |
jozee@2674 | 26 # Rules to gen a SliTaz package suitable for Tazpkg. |
jozee@2674 | 27 genpkg_rules() |
jozee@2674 | 28 { |
jozee@2674 | 29 mkdir -p $fs/usr/lib |
jozee@2674 | 30 cp -a $_pkg/usr/lib/gstreamer* $fs/usr/lib |
jozee@2674 | 31 |
jozee@2674 | 32 } |