wok-6.x view gst-ffmpeg/receipt @ rev 15000

Add some GPL2 licenses
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat Aug 10 17:00:38 2013 +0000 (2013-08-10)
parents 28e9b74e64d1
children 36547f9def7c
line source
1 # SliTaz package receipt.
3 PACKAGE="gst-ffmpeg"
4 VERSION="0.10.11"
5 SERIES="0.10"
6 CATEGORY="multimedia"
7 SHORT_DESC="GStreamer FFmpeg Plugins"
8 MAINTAINER="jozee@slitaz.org"
9 LICENSE="GPL2"
10 TARBALL="$PACKAGE-$VERSION.tar.bz2"
11 WEB_SITE="http://gstreamer.freedesktop.org/"
12 WGET_URL="$WEB_SITE/src/$PACKAGE/$TARBALL"
14 DEPENDS="gst-plugins-base bzip2"
15 BUILD_DEPENDS="gstreamer-dev gst-plugins-base-dev bzip2-dev \
16 coreutils-file-format coreutils-file-special glib-dev yasm"
18 # Rules to configure and make the package.
19 compile_rules()
20 {
21 cd $src
22 ./configure \
23 --prefix=/usr \
24 --disable-static \
25 --with-ffmpeg-extra-configure="--enable-runtime-cpudetect" \
26 --with-package-name="GStreamer FFMpeg Plugin ($SERIES)" \
27 --with-package-origin="http://www.slitaz.org/" \
28 $CONFIGURE_ARGS &&
29 make $MAKEFLAGS &&
30 make DESTDIR=$install install
31 }
33 # Rules to gen a SliTaz package suitable for Tazpkg.
34 genpkg_rules()
35 {
36 mkdir -p $fs/usr/lib/gstreamer-$SERIES
37 cp -a $install/usr/lib/gstreamer-$SERIES/*.so* $fs/usr/lib/gstreamer-$SERIES
38 }