wok annotate gst-ffmpeg/receipt @ rev 14025

gst-ffmpeg: new build
author Dominique Corbex <domcox@slitaz.org>
date Sun Feb 17 20:07:14 2013 +0100 (2013-02-17)
parents e13ab67213ba
children 28e9b74e64d1
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"
domcox@14025 5 SERIES="0.10"
jozee@2674 6 CATEGORY="multimedia"
jozee@2674 7 SHORT_DESC="GStreamer FFmpeg Plugins"
jozee@2674 8 MAINTAINER="jozee@slitaz.org"
domcox@14025 9 DEPENDS="gst-plugins-base bzip2 orc"
domcox@14025 10 BUILD_DEPENDS="pkg-config gstreamer-dev gst-plugins-base-dev bzip2-dev \
domcox@14025 11 coreutils-file-format coreutils-file-special glib-dev orc-dev yasm \
domcox@14025 12 libxml2-dev libffi"
slaxemulator@7331 13 TARBALL="$PACKAGE-$VERSION.tar.bz2"
domcox@14025 14 WEB_SITE="http://gstreamer.freedesktop.org/"
jozee@2674 15 WGET_URL="$WEB_SITE/src/$PACKAGE/$TARBALL"
jozee@2674 16
jozee@2674 17 # Rules to configure and make the package.
jozee@2674 18 compile_rules()
jozee@2674 19 {
jozee@2674 20 cd $src
domcox@14025 21 ./configure \
domcox@14025 22 --prefix=/usr \
domcox@14025 23 --disable-static \
domcox@14025 24 --with-ffmpeg-extra-configure="--enable-runtime-cpudetect" \
domcox@14025 25 --with-package-name="GStreamer FFMpeg Plugin ($SERIES)" \
domcox@14025 26 --with-package-origin="http://www.slitaz.org/" \
domcox@14025 27 $CONFIGURE_ARGS &&
gokhlayeh@11573 28 make $MAKEFLAGS &&
domcox@14025 29 make DESTDIR=$install install
jozee@2674 30 }
jozee@2674 31
jozee@2674 32 # Rules to gen a SliTaz package suitable for Tazpkg.
jozee@2674 33 genpkg_rules()
jozee@2674 34 {
domcox@14025 35 mkdir -p $fs/usr/lib/gstreamer-$SERIES
domcox@14025 36 cp -a $_pkg/usr/lib/gstreamer-$SERIES/*.so* $fs/usr/lib/gstreamer-$SERIES
jozee@2674 37 }