wok-current annotate libnice/receipt @ rev 19870

linld: fix progname
author Pascal Bellard <pascal.bellard@slitaz.org>
date Thu Mar 30 15:54:03 2017 +0200 (2017-03-30)
parents 326f6ec1d4ad
children a78610b2eb47
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"
pascal@14714 8 LICENSE="LGPL2.1 MPL"
pankso@4067 9 TARBALL="$PACKAGE-$VERSION.tar.gz"
pascal@14714 10 WEB_SITE="http://nice.freedesktop.org/"
pascal@14714 11 WGET_URL="http://nice.freedesktop.org/releases/$TARBALL"
pascal@14714 12
pankso@4067 13 DEPENDS="gstreamer"
slaxemulator@6215 14 BUILD_DEPENDS="gstreamer gstreamer-dev pkg-config glib-dev libxml2-dev"
pankso@4067 15
pankso@4067 16 # Rules to configure and make the package.
pankso@4067 17 compile_rules()
pankso@4067 18 {
pankso@4067 19 cd $src
pankso@4067 20 ./configure \
pankso@4067 21 --prefix=/usr \
pankso@4067 22 --mandir=/usr/share/man \
slaxemulator@6215 23 --with-gstreamer \
pankso@4067 24 $CONFIGURE_ARGS &&
pankso@4067 25 make &&
pascal@14714 26 make DESTDIR=$DESTDIR install
pankso@4067 27 }
pankso@4067 28
pankso@4067 29 # Rules to gen a SliTaz package suitable for Tazpkg.
pankso@4067 30 genpkg_rules()
pankso@4067 31 {
pankso@4067 32 mkdir -p $fs/usr/lib
pascal@14714 33 cp -a $install/usr/bin $fs/usr
pascal@14714 34 cp -a $install/usr/lib/*.so* $fs/usr/lib
pascal@14714 35 cp -a $install/usr/lib/gstreamer-* $fs/usr/lib
slaxemulator@6215 36 rm $fs/usr/lib/gstreamer-*/*.*a
pankso@4067 37 }