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

linld: add isoboot
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sun May 24 16:16:52 2020 +0000 (2020-05-24)
parents 4904e3d374a9
children ede1d184d5c5
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@20669 10 WEB_SITE="https://nice.freedesktop.org/"
pascal@20669 11 WGET_URL="https://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 }