wok-next view libnice/receipt @ rev 21020
Cleaning is almost finished... I should proceed to upgrades.
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Fri Nov 02 14:15:08 2018 +0200 (2018-11-02) |
parents | 342b30daff76 |
children |
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="devel@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="$PACKAGE-gst0 $PACKAGE-gst1 $PACKAGE $PACKAGE-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 *-gst0)
28 copy libgstnice010.so
29 DEPENDS="glib gstreamer0 libnice"
30 CAT="multimedia|GStreamer-0.10 plugin"
31 ;;
32 *-gst1)
33 copy libgstnice.so
34 DEPENDS="glib gstreamer1 libnice"
35 CAT="multimedia|GStreamer-1.0 plugin"
36 ;;
37 libnice)
38 copy @std @rm
39 DEPENDS="glib libgnutls"
40 ;;
41 *-dev)
42 copy @dev
43 DEPENDS="libnice libnice-gst0 libnice-gst1 \
44 glib-dev gnutls-dev"
45 ;;
46 esac
47 }