wok-next view libnice/receipt @ rev 20669
vde2: up / fix build
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Fri May 11 14:21:30 2018 +0300 (2018-05-11) |
parents | de370e2d8541 |
children | 342b30daff76 |
line source
1 # SliTaz package receipt v2.
3 PACKAGE="libnice"
4 VERSION="0.1.14"
5 CATEGORY="system-tools"
6 SHORT_DESC="The GLib ICE implementation"
7 MAINTAINER="pankso@slitaz.org"
8 LICENSE="LGPL2.1 MPL"
9 WEB_SITE="https://nice.freedesktop.org/wiki/"
11 TARBALL="$PACKAGE-$VERSION.tar.gz"
12 WGET_URL="https://nice.freedesktop.org/releases/$TARBALL"
14 BUILD_DEPENDS="gnutls-dev glib-dev gstreamer0-dev gstreamer1-dev \
15 gobject-introspection-dev"
16 SPLIT="libnice-gst0 libnice-gst1 libnice libnice-dev"
18 compile_rules() {
19 ./configure $CONFIGURE_ARGS &&
20 fix libtool &&
21 make &&
22 make install
23 }
25 genpkg_rules() {
26 case $PACKAGE in
27 libnice-gst0)
28 copy libgstnice010.so
29 DEPENDS="libnice gstreamer0 liblzma libxml2"
30 CAT="multimedia|GStreamer-0.10 plugin"
31 ;;
32 libnice-gst1)
33 copy libgstnice.so
34 DEPENDS="libnice gstreamer1"
35 CAT="multimedia|GStreamer-1.0 plugin"
36 ;;
37 libnice)
38 copy @std @rm
39 DEPENDS="glib gmp libffi libgnutls libidn libtasn1 libunistring \
40 nettle p11-kit pcre util-linux-blkid util-linux-mount \
41 util-linux-uuid zlib"
42 ;;
43 libnice-dev)
44 copy @dev
45 DEPENDS="libnice libnice-gst0 libnice-gst1 \
46 glib-dev gmp-dev gnutls-dev gstreamer0-dev gstreamer1-dev \
47 libffi-dev libidn-dev libtasn1-dev libunistring-dev libxml2-dev \
48 nettle-dev p11-kit-dev pcre-dev util-linux-blkid-dev \
49 util-linux-mount-dev util-linux-uuid-dev xz-dev zlib-dev"
50 ;;
51 esac
52 }