wok-4.x view gst-ffmpeg/receipt @ rev 8323
tazdev: add experimental
author | Antoine Bodin <gokhlayeh@slitaz.org> |
---|---|
date | Tue Feb 01 22:09:33 2011 +0100 (2011-02-01) |
parents | 26665883a98a |
children | b7319995b37e |
line source
1 # SliTaz package receipt.
3 PACKAGE="gst-ffmpeg"
4 VERSION="0.10.11"
5 CATEGORY="multimedia"
6 SHORT_DESC="GStreamer FFmpeg Plugins"
7 MAINTAINER="jozee@slitaz.org"
8 DEPENDS="gstreamer gst-plugins-base ffmpeg glib"
9 BUILD_DEPENDS="pkg-config gst-plugins-base-dev liboil-dev gstreamer-dev \
10 libxml2-dev glib-dev ffmpeg-dev bzip2-dev coreutils-file-special"
11 TARBALL="$PACKAGE-$VERSION.tar.bz2"
12 WEB_SITE="http://gstreamer.freedesktop.org/"
13 WGET_URL="$WEB_SITE/src/$PACKAGE/$TARBALL"
15 # Rules to configure and make the package.
16 # Add --with-system-ffmpeg from ./configure for compiling with shared FFmpeg.
17 # need atleast version 18330 for shared ffmpeg
18 compile_rules()
19 {
20 cd $src
21 sed -i 's/pr -. -t/cat/' gst-libs/ext/ffmpeg/configure
22 # fix mktemp -u
23 sed -i 's|mktemp -u|/usr/bin/mktemp -u|g' gst-libs/ext/ffmpeg/configure
24 ./configure --prefix=/usr &&
25 make -j 4 &&
26 make DESTDIR=$PWD/_pkg install
27 }
29 # Rules to gen a SliTaz package suitable for Tazpkg.
30 genpkg_rules()
31 {
32 mkdir -p $fs/usr/lib
33 cp -a $_pkg/usr/lib/gstreamer* $fs/usr/lib
35 }