wok-next view gst-ffmpeg/receipt @ rev 11573

Fix build/host configure option in recipes which was not detecting the right ones well + tiny fixes.
author Antoine Bodin <gokhlayeh@slitaz.org>
date Mon Jan 02 23:06:18 2012 +0100 (2012-01-02)
parents 0447a9d90f63
children d94859bd28b4
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 $CONFIGURE_ARGS &&
25 make $MAKEFLAGS &&
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 }