wok-next view gstreamer/receipt @ rev 15759
Add Spk (SliTaz Packages Toolset)
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Sun Jan 05 02:48:00 2014 +0100 (2014-01-05) |
parents | 0f70dc971723 |
children | ac2ee8823dfa |
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 LICENSE="LGPL2"
10 TARBALL="$PACKAGE-$VERSION.tar.xz"
11 WEB_SITE="http://gstreamer.freedesktop.org/"
12 WGET_URL="$WEB_SITE/src/$PACKAGE/$TARBALL"
13 LOCALES="da de es fr id it pt_BR ru zh_CN"
15 DEPENDS="glib libgio libxml2"
16 BUILD_DEPENDS="glib-dev libgio-dev libxml2-dev gobject-introspection-dev
17 intltool pkg-config bison flex python python-dev m4 valgrind"
19 # Rules to configure and make the package.
20 compile_rules()
21 {
22 cd $src
23 ./configure \
24 --sysconfdir=/etc \
25 --localstatedir=/var \
26 --libexecdir=/usr/lib \
27 --enable-silent-rules \
28 --disable-static \
29 --disable-examples \
30 --disable-debug \
31 --with-package-name="GStreamer ($SERIES)" \
32 --with-package-origin="http://www.slitaz.org/" \
33 $CONFIGURE_ARGS &&
34 make $MAKEFLAGS && make install
35 }
37 # Rules to gen a SliTaz package suitable for Tazpkg.
38 genpkg_rules()
39 {
40 mkdir -p $fs/usr/lib/gstreamer-$SERIES $fs/usr/bin $fs/usr/share/locale
41 mv $install/usr/bin/*-$SERIES $fs/usr/bin
42 mv $install/usr/lib/*.so* $fs/usr/lib
43 mv $install/usr/lib/gstreamer-$SERIES/*.so $fs/usr/lib/gstreamer-$SERIES
44 mv $install/usr/lib/gstreamer-$SERIES/gst-* $fs/usr/lib/gstreamer-$SERIES
45 mv $install/usr/lib/girepository-1.0 $fs/usr/lib
46 for locale in $LOCALES; do
47 mv $install/usr/share/locale/$locale $fs/usr/share/locale
48 done
49 }