wok-stable annotate gst-plugins-bad/receipt @ rev 3043

locale-*: Keep current config when on upgrade or install
author Christophe Lincoln <pankso@slitaz.org>
date Tue May 12 23:24:55 2009 +0200 (2009-05-12)
parents 543e5273625e
children e8024c01fc47
rev   line source
jozee@2674 1 # SliTaz package receipt.
jozee@2674 2
jozee@2674 3 PACKAGE="gst-plugins-bad"
jozee@2674 4 VERSION="0.10.11"
jozee@2674 5 CATEGORY="multimedia"
jozee@2674 6 SHORT_DESC="GStreamer Bad Plugins"
jozee@2674 7 MAINTAINER="jozee@slitaz.org"
pascal@2851 8 DEPENDS="libxml2 gst-plugins-base bzlib flac libSDL libcomerr openssl libexif \
pascal@2861 9 libiconv libkrb5 libmodplug libsndfile expat"
jozee@2707 10 BUILD_DEPENDS="pkg-config glib-dev gst-plugins-base gst-plugins-base-dev liboil-dev gstreamer-dev libxml2-dev libmodplug"
jozee@2674 11 TARBALL="$PACKAGE-$VERSION.tar.gz"
jozee@2674 12 WEB_SITE="http://gstreamer.freedesktop.org/"
jozee@2674 13 WGET_URL="$WEB_SITE/src/gst-plugins-bad/$TARBALL"
jozee@2674 14
jozee@2674 15 # Rules to configure and make the package.
jozee@2674 16 compile_rules()
jozee@2674 17 {
jozee@2674 18 cd $src
jozee@2674 19 ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var --enable-experimental &&
jozee@2674 20 make &&
jozee@2695 21 make DESTDIR=$PWD/_pkg install
jozee@2674 22 }
jozee@2674 23
jozee@2674 24 # Rules to gen a SliTaz package suitable for Tazpkg.
jozee@2674 25 genpkg_rules()
jozee@2674 26 {
jozee@2674 27 mkdir -p $fs/usr/lib
jozee@2674 28 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
jozee@2674 29 cp -a $_pkg/usr/lib/gstreamer* $fs/usr/lib
jozee@2674 30 rm $fs/usr/lib/gstreamer*/*.*a
jozee@2674 31
jozee@2674 32 }