wok-next view gst-plugins-good/receipt @ rev 15168

nethack: fix compile_rules
author Pascal Bellard <pascal.bellard@slitaz.org>
date Thu Aug 15 23:11:23 2013 +0000 (2013-08-15)
parents 46a79eb4283c
children dcea5385bc20
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 LICENSE="LGPL2.1"
10 SUGGESTED="jack-audio-connection-kit"
11 TARBALL="$PACKAGE-$VERSION.tar.xz"
12 WEB_SITE="http://gstreamer.freedesktop.org/"
13 WGET_URL="$WEB_SITE/src/$PACKAGE/$TARBALL"
14 LOCALES="da de es fr id it pt_BR ru zh_CN"
16 DEPENDS="gst-plugins-base cairo flac libjpeg libpng
17 libsoup libcdio libdv speex taglib wavpack bzip2"
18 BUILD_DEPENDS="gstreamer-dev gst-plugins-base-dev
19 cairo-dev flac-dev jpeg-dev libpng-dev libshout-dev
20 libsoup-dev jack-audio-connection-kit-dev libcdio-dev
21 libdv-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 }