wok-6.x view gst-plugins-base/receipt @ rev 8504

gcc+gcj: remove build dir after packing files, don't exit but return
author Antoine Bodin <gokhlayeh@slitaz.org>
date Sat Feb 12 02:18:58 2011 +0100 (2011-02-12)
parents e717278ceeb2
children 9e2498de4e46
line source
1 # SliTaz package receipt.
3 PACKAGE="gst-plugins-base"
4 VERSION="0.10.32"
5 CATEGORY="multimedia"
6 SHORT_DESC="GStreamer Base Plugins"
7 MAINTAINER="jozee@slitaz.org"
8 DEPENDS="libxml2 alsa-lib cdparanoia-III libvorbis libtheora gstreamer liboil \
9 libtheora-enc fontconfig libgio pango xorg-libICE xorg-libSM xorg-libXau \
10 xorg-libXdmcp xorg-libXext xorg-libXv freetype"
11 BUILD_DEPENDS="pkg-config glib-dev alsa-lib-dev liboil liboil-dev gstreamer gstreamer-dev libtheora-enc libtheora-dev libvorbis-dev cdparanoia-III cdparanoia-III-dev libxml2-dev libogg-dev libgio-dev freetype-dev fontconfig-dev pango-dev xorg-libSM-dev xorg-libXau-dev xorg-libICE-dev xorg-libXdmcp-dev xorg-libXext-dev xorg-libXv xorg-libXv-dev xorg-dev-proto util-linux-ng-uuid-dev gobject-introspection-dev"
12 TARBALL="$PACKAGE-$VERSION.tar.bz2"
13 WEB_SITE="http://gstreamer.freedesktop.org/"
14 WGET_URL="$WEB_SITE/src/$PACKAGE/$TARBALL"
16 # Rules to configure and make the package.
17 compile_rules()
18 {
19 cd $src
20 ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var \
21 --enable-experimental &&
22 make -j 4 &&
23 sed -e 's/^SUBDIRS_EXT =.*/SUBDIRS_EXT =/' -i Makefile &&
24 make DESTDIR=$PWD/_pkg install
25 mkdir -p $PWD/_pkg/usr/bin/
26 }
28 # Rules to gen a SliTaz package suitable for Tazpkg.
29 genpkg_rules()
30 {
31 mkdir -p $fs/usr/lib
32 cp -a $_pkg/usr/bin $fs/usr
33 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
34 cp -a $_pkg/usr/lib/gstreamer* $fs/usr/lib
35 cp -a $_pkg/usr/lib/girepository-1.0 $fs/usr/lib
36 rm $fs/usr/lib/gstreamer*/*.*a
38 }