wok annotate gst-ffmpeg/receipt @ rev 6736
Up: zsync to 0.6.2.
author | Christopher Rogers <slaxemulator@gmail.com> |
---|---|
date | Sat Oct 16 19:10:42 2010 +0000 (2010-10-16) |
parents | 2c679ce49f4c |
children | 26665883a98a |
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 && |
pascal@5784 | 23 make -j 4 && |
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 } |