wok annotate libnice/receipt @ rev 13845

lyx: fix for gcc 4.6
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue Jan 08 21:25:10 2013 +0100 (2013-01-08)
parents 2f880c18b34a
children 4904e3d374a9
rev   line source
pankso@4067 1 # SliTaz package receipt.
pankso@4067 2
pankso@4067 3 PACKAGE="libnice"
slaxemulator@6215 4 VERSION="0.0.13"
pankso@4067 5 CATEGORY="system-tools"
pankso@4067 6 SHORT_DESC="The GLib ICE implementation."
pankso@4067 7 MAINTAINER="pankso@slitaz.org"
pankso@4067 8 TARBALL="$PACKAGE-$VERSION.tar.gz"
pankso@4067 9 DEPENDS="gstreamer"
slaxemulator@6215 10 BUILD_DEPENDS="gstreamer gstreamer-dev pkg-config glib-dev libxml2-dev"
pankso@4067 11 WEB_SITE="http://nice.freedesktop.org/"
pankso@4067 12 WGET_URL="http://nice.freedesktop.org/releases/$TARBALL"
pankso@4067 13
pankso@4067 14 # Rules to configure and make the package.
pankso@4067 15 compile_rules()
pankso@4067 16 {
pankso@4067 17 cd $src
pankso@4067 18 ./configure \
pankso@4067 19 --prefix=/usr \
pankso@4067 20 --mandir=/usr/share/man \
slaxemulator@6215 21 --with-gstreamer \
pankso@4067 22 $CONFIGURE_ARGS &&
pankso@4067 23 make &&
pankso@4067 24 make DESTDIR=$PWD/_pkg install
pankso@4067 25 }
pankso@4067 26
pankso@4067 27 # Rules to gen a SliTaz package suitable for Tazpkg.
pankso@4067 28 genpkg_rules()
pankso@4067 29 {
pankso@4067 30 mkdir -p $fs/usr/lib
pankso@4067 31 cp -a $_pkg/usr/bin $fs/usr
pankso@4067 32 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
pankso@4067 33 cp -a $_pkg/usr/lib/gstreamer-* $fs/usr/lib
slaxemulator@6215 34 rm $fs/usr/lib/gstreamer-*/*.*a
pankso@4067 35 }