wok-6.x annotate gstreamer/receipt @ rev 15497

Up: firefox-langpack-pt_PT (17.0.10esr)
author Dominique Corbex <domcox@slitaz.org>
date Sun Nov 17 16:30:02 2013 +0100 (2013-11-17)
parents 0f70dc971723
children ac2ee8823dfa
rev   line source
jozee@2674 1 # SliTaz package receipt.
jozee@2674 2
jozee@2674 3 PACKAGE="gstreamer"
domcox@14015 4 VERSION="0.10.36"
domcox@14015 5 SERIES="0.10"
jozee@2674 6 CATEGORY="multimedia"
jozee@2674 7 SHORT_DESC="GStreamer Multimedia Framework"
jozee@2674 8 MAINTAINER="jozee@slitaz.org"
pascal@15004 9 LICENSE="LGPL2"
domcox@14015 10 TARBALL="$PACKAGE-$VERSION.tar.xz"
pankso@4068 11 WEB_SITE="http://gstreamer.freedesktop.org/"
slaxemulator@6769 12 WGET_URL="$WEB_SITE/src/$PACKAGE/$TARBALL"
domcox@14015 13 LOCALES="da de es fr id it pt_BR ru zh_CN"
jozee@2674 14
domcox@14473 15 DEPENDS="glib libgio libxml2"
domcox@14473 16 BUILD_DEPENDS="glib-dev libgio-dev libxml2-dev gobject-introspection-dev
domcox@14473 17 intltool pkg-config bison flex python python-dev m4 valgrind"
domcox@14473 18
jozee@2674 19 # Rules to configure and make the package.
jozee@2674 20 compile_rules()
jozee@2674 21 {
jozee@2674 22 cd $src
pankso@4068 23 ./configure \
pankso@4068 24 --sysconfdir=/etc \
pankso@4068 25 --localstatedir=/var \
slaxemulator@11184 26 --libexecdir=/usr/lib \
domcox@14473 27 --enable-silent-rules \
domcox@14015 28 --disable-static \
domcox@14015 29 --disable-examples \
domcox@14015 30 --disable-debug \
domcox@14015 31 --with-package-name="GStreamer ($SERIES)" \
domcox@14015 32 --with-package-origin="http://www.slitaz.org/" \
pascal@15265 33 $CONFIGURE_ARGS &&
gokhlayeh@11574 34 make $MAKEFLAGS && make install
jozee@2674 35 }
jozee@2674 36
jozee@2674 37 # Rules to gen a SliTaz package suitable for Tazpkg.
jozee@2674 38 genpkg_rules()
jozee@2674 39 {
domcox@14015 40 mkdir -p $fs/usr/lib/gstreamer-$SERIES $fs/usr/bin $fs/usr/share/locale
domcox@14015 41 mv $install/usr/bin/*-$SERIES $fs/usr/bin
domcox@14015 42 mv $install/usr/lib/*.so* $fs/usr/lib
domcox@14015 43 mv $install/usr/lib/gstreamer-$SERIES/*.so $fs/usr/lib/gstreamer-$SERIES
domcox@14015 44 mv $install/usr/lib/gstreamer-$SERIES/gst-* $fs/usr/lib/gstreamer-$SERIES
domcox@14015 45 mv $install/usr/lib/girepository-1.0 $fs/usr/lib
domcox@14015 46 for locale in $LOCALES; do
domcox@14015 47 mv $install/usr/share/locale/$locale $fs/usr/share/locale
domcox@14015 48 done
jozee@2674 49 }