wok-4.x view gst-plugins-base/receipt @ rev 10378

gst-plugins-base: clean-up receipt
author Christophe Lincoln <pankso@slitaz.org>
date Mon May 23 13:02:00 2011 +0200 (2011-05-23)
parents 9e2498de4e46
children 6de39b76edc6
line source
1 # SliTaz package receipt.
3 PACKAGE="gst-plugins-base"
4 VERSION="0.10.34"
5 CATEGORY="multimedia"
6 SHORT_DESC="GStreamer Base Plugins"
7 MAINTAINER="jozee@slitaz.org"
8 TARBALL="$PACKAGE-$VERSION.tar.bz2"
9 WEB_SITE="http://gstreamer.freedesktop.org/"
10 WGET_URL="$WEB_SITE/src/$PACKAGE/$TARBALL"
12 DEPENDS="libxml2 alsa-lib cdparanoia-III libvorbis libtheora gstreamer liboil \
13 libtheora-enc fontconfig libgio pango xorg-libICE xorg-libSM xorg-libXau \
14 xorg-libXdmcp xorg-libXext xorg-libXv freetype"
15 BUILD_DEPENDS="pkg-config glib-dev alsa-lib-dev liboil-dev gstreamer-dev \
16 libtheora-enc libtheora-dev libvorbis-dev cdparanoia-III-dev libxml2-dev \
17 libogg-dev libgio-dev freetype-dev fontconfig-dev pango-dev xorg-libSM-dev \
18 xorg-libXau-dev xorg-libICE-dev xorg-libXdmcp-dev xorg-libXext-dev \
19 xorg-libXv-dev xorg-dev-proto util-linux-ng-uuid-dev gobject-introspection-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 --enable-experimental \
30 $CONFIGURE_ARGS &&
31 make -j 4 &&
32 sed -e 's/^SUBDIRS_EXT =.*/SUBDIRS_EXT =/' -i Makefile &&
33 make install
34 }
36 # Rules to gen a SliTaz package suitable for Tazpkg.
37 genpkg_rules()
38 {
39 mkdir -p $fs/usr/lib
40 cp -a $_pkg/usr/bin $fs/usr
41 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
42 cp -a $_pkg/usr/lib/gstreamer* $fs/usr/lib
43 cp -a $_pkg/usr/lib/girepository-1.0 $fs/usr/lib
44 rm $fs/usr/lib/gstreamer*/*.*a
45 }