wok view libnice/receipt @ rev 25037

Up glza (0.11.4)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat May 21 21:38:29 2022 +0000 (23 months ago)
parents a78610b2eb47
children
line source
1 # SliTaz package receipt.
3 PACKAGE="libnice"
4 VERSION="0.0.13"
5 CATEGORY="system-tools"
6 SHORT_DESC="The GLib ICE implementation."
7 MAINTAINER="pankso@slitaz.org"
8 LICENSE="LGPL2.1 MPL"
9 TARBALL="$PACKAGE-$VERSION.tar.gz"
10 WEB_SITE="https://nice.freedesktop.org/"
11 WGET_URL="https://nice.freedesktop.org/releases/$TARBALL"
13 DEPENDS="gstreamer"
14 BUILD_DEPENDS="gstreamer gstreamer-dev pkg-config glib-dev libxml2-dev"
16 # What is the latest version available today?
17 current_version()
18 {
19 wget -O - $WEB_SITE 2>/dev/null | \
20 sed "/latest/d;/$PACKAGE-[0-9]/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*|\\1|" | sort -Vr | sed q
21 }
23 # Rules to configure and make the package.
24 compile_rules()
25 {
26 cd $src
27 ./configure \
28 --prefix=/usr \
29 --mandir=/usr/share/man \
30 --with-gstreamer \
31 $CONFIGURE_ARGS &&
32 make &&
33 make DESTDIR=$DESTDIR install
34 }
36 # Rules to gen a SliTaz package suitable for Tazpkg.
37 genpkg_rules()
38 {
39 mkdir -p $fs/usr/lib
40 cp -a $install/usr/bin $fs/usr
41 cp -a $install/usr/lib/*.so* $fs/usr/lib
42 cp -a $install/usr/lib/gstreamer-* $fs/usr/lib
43 rm $fs/usr/lib/gstreamer-*/*.*a
44 }