wok-6.x annotate gst-ffmpeg/receipt @ rev 10173

Add perl-date-calc.
author Christopher Rogers <slaxemulator@gmail.com>
date Fri May 20 22:01:49 2011 +0000 (2011-05-20)
parents 26665883a98a
children b7319995b37e
rev   line source
jozee@2674 1 # SliTaz package receipt.
jozee@2674 2
jozee@2674 3 PACKAGE="gst-ffmpeg"
slaxemulator@7331 4 VERSION="0.10.11"
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 \
slaxemulator@7334 10 libxml2-dev glib-dev ffmpeg-dev bzip2-dev coreutils-file-special"
slaxemulator@7331 11 TARBALL="$PACKAGE-$VERSION.tar.bz2"
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
slaxemulator@7334 22 # fix mktemp -u
slaxemulator@7334 23 sed -i 's|mktemp -u|/usr/bin/mktemp -u|g' gst-libs/ext/ffmpeg/configure
jozee@2912 24 ./configure --prefix=/usr &&
pascal@5784 25 make -j 4 &&
jozee@2674 26 make DESTDIR=$PWD/_pkg install
jozee@2674 27 }
jozee@2674 28
jozee@2674 29 # Rules to gen a SliTaz package suitable for Tazpkg.
jozee@2674 30 genpkg_rules()
jozee@2674 31 {
jozee@2674 32 mkdir -p $fs/usr/lib
jozee@2674 33 cp -a $_pkg/usr/lib/gstreamer* $fs/usr/lib
jozee@2674 34
jozee@2674 35 }