wok-current view gst-plugins-good/receipt @ rev 12672

gtk-gnutella: fix compile_rules
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue May 01 13:13:13 2012 +0200 (2012-05-01)
parents 64a44d4b2f1f
children d107eb9054a7
line source
1 # SliTaz package receipt.
3 PACKAGE="gst-plugins-good"
4 VERSION="0.10.30"
5 CATEGORY="multimedia"
6 SHORT_DESC="GStreamer Good 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 gst-plugins-base gtk+ bzlib dbus flac libdv taglib \
13 xorg-libXcomposite xorg-libXcursor xorg-libXfixes xorg-libXinerama \
14 xorg-libXrandr xorg-libXrender xorg-libXv GConf libsoup esound libavc1394 \
15 libiec61883 libv4l libtasn1 wavpack audiofile"
16 BUILD_DEPENDS="pkg-config gst-plugins-base gst-plugins-base-dev libogg-dev \
17 liboil-dev gstreamer-dev libxml2-dev glib-dev libjpeg jpeg-dev bzip2-dev \
18 wavpack-dev GConf-dev esound-dev flac-dev xorg-libXv-dev audiofile-dev \
19 jack-audio-connection-kit-dev dbus-dev util-linux-uuid-dev hal-dev \
20 libdv-dev alsa-lib-dev"
22 # Rules to configure and make the package.
23 compile_rules()
24 {
25 cd $src
26 sed -i 's/String::String/String/' ext/taglib/gstapev2mux.cc
27 ./configure \
28 --prefix=/usr --sysconfdir=/etc --localstatedir=/var \
29 --enable-experimental --disable-static --disable-speex \
30 $CONFIGURE_ARGS &&
31 make $MAKEFLAGS &&
32 make install
33 }
35 # Rules to gen a SliTaz package suitable for Tazpkg.
36 genpkg_rules()
37 {
38 mkdir -p $fs/usr/lib $fs/usr/share
39 cp -a $_pkg/usr/lib/gstreamer* $fs/usr/lib
40 cp -a $_pkg/usr/share/gstreamer* $fs/usr/share
41 rm $fs/usr/lib/gstreamer*/*.*a
43 }