wok-6.x view gstreamer/receipt @ rev 14294

Up: eio (1.7.5)
author Dominique Corbex <domcox@slitaz.org>
date Sun Apr 07 10:06:26 2013 +0200 (2013-04-07)
parents d94859bd28b4
children 1d2b411d98d1
line source
1 # SliTaz package receipt.
3 PACKAGE="gstreamer"
4 VERSION="0.10.36"
5 SERIES="0.10"
6 CATEGORY="multimedia"
7 SHORT_DESC="GStreamer Multimedia Framework"
8 MAINTAINER="jozee@slitaz.org"
9 DEPENDS="libxml2 glib"
10 BUILD_DEPENDS="intltool pkg-config bison flex glib-dev libxml2-dev python
11 python-dev m4 libgio-dev gobject-introspection-dev libffi valgrind"
12 TARBALL="$PACKAGE-$VERSION.tar.xz"
13 WEB_SITE="http://gstreamer.freedesktop.org/"
14 WGET_URL="$WEB_SITE/src/$PACKAGE/$TARBALL"
15 LOCALES="da de es fr id it pt_BR ru zh_CN"
17 # Rules to configure and make the package.
18 compile_rules()
19 {
20 cd $src
21 ./configure \
22 --sysconfdir=/etc \
23 --localstatedir=/var \
24 --libexecdir=/usr/lib \
25 --disable-static \
26 --disable-examples \
27 --disable-debug \
28 --with-package-name="GStreamer ($SERIES)" \
29 --with-package-origin="http://www.slitaz.org/" \
30 $CONFIGURE_ARGS &&
31 make $MAKEFLAGS && make install
32 }
34 # Rules to gen a SliTaz package suitable for Tazpkg.
35 genpkg_rules()
36 {
37 mkdir -p $fs/usr/lib/gstreamer-$SERIES $fs/usr/bin $fs/usr/share/locale
38 mv $install/usr/bin/*-$SERIES $fs/usr/bin
39 mv $install/usr/lib/*.so* $fs/usr/lib
40 mv $install/usr/lib/gstreamer-$SERIES/*.so $fs/usr/lib/gstreamer-$SERIES
41 mv $install/usr/lib/gstreamer-$SERIES/gst-* $fs/usr/lib/gstreamer-$SERIES
42 mv $install/usr/lib/girepository-1.0 $fs/usr/lib
43 for locale in $LOCALES; do
44 mv $install/usr/share/locale/$locale $fs/usr/share/locale
45 done
46 }