wok annotate gst-plugins-base/receipt @ rev 10124

gource: Add $CONFIGURE_ARGS.
author Christopher Rogers <slaxemulator@gmail.com>
date Fri May 20 16:39:19 2011 +0000 (2011-05-20)
parents 065dd5076f8a
children 36bd6d3d2b60
rev   line source
jozee@2674 1 # SliTaz package receipt.
jozee@2674 2
jozee@2674 3 PACKAGE="gst-plugins-base"
slaxemulator@10114 4 VERSION="0.10.34"
jozee@2674 5 CATEGORY="multimedia"
jozee@2674 6 SHORT_DESC="GStreamer Base Plugins"
jozee@2674 7 MAINTAINER="jozee@slitaz.org"
pascal@2861 8 DEPENDS="libxml2 alsa-lib cdparanoia-III libvorbis libtheora gstreamer liboil \
pascal@2861 9 libtheora-enc fontconfig libgio pango xorg-libICE xorg-libSM xorg-libXau \
slaxemulator@6762 10 xorg-libXdmcp xorg-libXext xorg-libXv freetype"
slaxemulator@6771 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"
slaxemulator@6762 12 TARBALL="$PACKAGE-$VERSION.tar.bz2"
jozee@2674 13 WEB_SITE="http://gstreamer.freedesktop.org/"
slaxemulator@6762 14 WGET_URL="$WEB_SITE/src/$PACKAGE/$TARBALL"
jozee@2674 15
jozee@2674 16 # Rules to configure and make the package.
jozee@2674 17 compile_rules()
jozee@2674 18 {
jozee@2674 19 cd $src
jozee@2674 20 ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var \
slaxemulator@10114 21 --enable-experimental $CONFIGURE_ARGS &&
pascal@5784 22 make -j 4 &&
slaxemulator@6762 23 sed -e 's/^SUBDIRS_EXT =.*/SUBDIRS_EXT =/' -i Makefile &&
slaxemulator@10114 24 make install
jozee@2674 25 }
jozee@2674 26
jozee@2674 27 # Rules to gen a SliTaz package suitable for Tazpkg.
jozee@2674 28 genpkg_rules()
jozee@2674 29 {
jozee@2674 30 mkdir -p $fs/usr/lib
jozee@2674 31 cp -a $_pkg/usr/bin $fs/usr
jozee@2674 32 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
jozee@2674 33 cp -a $_pkg/usr/lib/gstreamer* $fs/usr/lib
slaxemulator@6954 34 cp -a $_pkg/usr/lib/girepository-1.0 $fs/usr/lib
jozee@2674 35 rm $fs/usr/lib/gstreamer*/*.*a
jozee@2674 36
jozee@2674 37 }