wok-6.x view gst-plugins-good/receipt @ rev 14065

shaarli: fix genpkg_rules
author Pascal Bellard <pascal.bellard@slitaz.org>
date Wed Feb 20 12:48:01 2013 +0100 (2013-02-20)
parents 4356c25620ec
children f333c8147d33
line source
1 # SliTaz package receipt.
3 PACKAGE="gst-plugins-good"
4 VERSION="0.10.31"
5 SERIES="0.10"
6 CATEGORY="multimedia"
7 SHORT_DESC="GStreamer Good Plugins"
8 MAINTAINER="jozee@slitaz.org"
9 SUGGESTED="jack-audio-connection-kit"
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="gst-plugins-base cairo flac libjpeg libpng \
16 libsoup libcdio libdv orc speex taglib wavpack bzip"
17 BUILD_DEPENDS="gst-plugins-base-dev \
18 cairo-dev flac-dev jpeg-dev libpng-dev xorg-libXv-dev \
19 libsoup-dev gstreamer-dev libogg-dev \
20 jack-audio-connection-kit-dev libcdio-dev \
21 libdv-dev orc-dev speex-dev taglib-dev wavpack-dev bzip2-dev"
23 # Rules to configure and make the package.
24 compile_rules()
25 {
26 cd $src
27 ./configure \
28 --prefix=/usr \
29 --sysconfdir=/etc \
30 --localstatedir=/var \
31 --enable-experimental \
32 --disable-static \
33 --disable-debug \
34 --disable-hal \
35 --disable-esd \
36 --with-package-name="GStreamer Good Plugins ($SERIES)" \
37 --with-package-origin="http://www.slitaz.org/" \
38 $CONFIGURE_ARGS &&
39 make $MAKEFLAGS &&
40 make install
41 }
43 # Rules to gen a SliTaz package suitable for Tazpkg.
44 genpkg_rules()
45 {
46 mkdir -p $fs/usr/lib/gstreamer-$SERIES $fs/usr/share
47 mv $install/usr/lib/gstreamer-$SERIES/*.so* $fs/usr/lib/gstreamer-$SERIES
48 mv $install/usr/share/gstreamer* $fs/usr/share
49 for locale in $LOCALES; do
50 mv $install/usr/share/locale/$locale $fs/usr/share/locale
51 done
52 }