wok-next view gst-plugins-ugly/receipt @ rev 15637

aufs: run xz in compile_rules
author Pascal Bellard <pascal.bellard@slitaz.org>
date Mon Dec 09 20:16:16 2013 +0000 (2013-12-09)
parents 76b72f1ad63c
children
line source
1 # SliTaz package receipt.
3 PACKAGE="gst-plugins-ugly"
4 VERSION="0.10.19"
5 SERIES="0.10"
6 CATEGORY="multimedia"
7 SHORT_DESC="GStreamer Ugly Plugins"
8 MAINTAINER="jozee@slitaz.org"
9 LICENSE="LGPL2.1"
10 SUGGESTED="x264"
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 lame libdvdread
17 libcdio libmad libmpeg2 opencore-amr"
18 BUILD_DEPENDS="gstreamer-dev gst-plugins-base-dev lame-dev libdvdread-dev
19 libcdio-dev libmad-dev libmpeg2-dev x264-dev"
21 # Rules to configure and make the package.
22 compile_rules()
23 {
24 cd $src
25 ./configure \
26 --prefix=/usr \
27 --sysconfdir=/etc \
28 --localstatedir=/var \
29 --disable-static \
30 --disable-debug \
31 --with-package-name="GStreamer Ugly Plugins ($SERIES)" \
32 --with-package-origin="http://www.slitaz.org/" \
33 $CONFIGURE_ARGS &&
34 make $MAKEFLAGS 2>&1 | grep -v /usr/local/include &&
35 make install
36 }
38 # Rules to gen a SliTaz package suitable for Tazpkg.
39 genpkg_rules()
40 {
41 mkdir -p $fs/usr/lib/gstreamer-$SERIES $fs/usr/share/locale
42 mv $install/usr/lib/gstreamer-$SERIES/*.so* $fs/usr/lib/gstreamer-$SERIES
43 mv $install/usr/share/gstreamer-$SERIES $fs/usr/share
44 for locale in $LOCALES; do
45 mv $install/usr/share/locale/$locale $fs/usr/share/locale
46 done
47 }