wok annotate gst-ffmpeg/receipt @ rev 4211
privoxy: fix FSH
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu Sep 24 10:11:31 2009 +0200 (2009-09-24) |
parents | 2a691bddc52e |
children | e4319b0b765a |
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" |
pankso@3429 | 9 BUILD_DEPENDS="pkg-config gst-plugins-base-dev liboil-dev gstreamer-dev \ |
pankso@3429 | 10 libxml2-dev glib-dev ffmpeg-dev bzip2-dev" |
jozee@2674 | 11 TARBALL="$PACKAGE-$VERSION.tar.gz" |
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@2912 | 16 # Add --with-system-ffmpeg from ./configure for compiling with shared FFmpeg. |
jozee@2697 | 17 # need atleast version 18330 for shared ffmpeg |
jozee@2674 | 18 compile_rules() |
jozee@2674 | 19 { |
jozee@2674 | 20 cd $src |
pascal@2938 | 21 sed -i 's/pr -. -t/cat/' gst-libs/ext/ffmpeg/configure |
jozee@2912 | 22 ./configure --prefix=/usr && |
jozee@2674 | 23 make && |
jozee@2674 | 24 make DESTDIR=$PWD/_pkg install |
jozee@2674 | 25 } |
jozee@2674 | 26 |
jozee@2674 | 27 # Rules to gen a SliTaz package suitable for Tazpkg. |
jozee@2674 | 28 genpkg_rules() |
jozee@2674 | 29 { |
jozee@2674 | 30 mkdir -p $fs/usr/lib |
jozee@2674 | 31 cp -a $_pkg/usr/lib/gstreamer* $fs/usr/lib |
jozee@2674 | 32 |
jozee@2674 | 33 } |