wok-6.x annotate libnice/receipt @ rev 11460

orage: add popt to depends
author Antoine Bodin <gokhlayeh@slitaz.org>
date Sat Dec 17 11:42:21 2011 +0100 (2011-12-17)
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 }