wok-next annotate 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
rev   line source
al@20331 1 # SliTaz package receipt v2.
pankso@4067 2
pankso@4067 3 PACKAGE="libnice"
al@20331 4 VERSION="0.1.14"
pankso@4067 5 CATEGORY="system-tools"
al@20331 6 SHORT_DESC="The GLib ICE implementation"
al@21020 7 MAINTAINER="devel@slitaz.org"
pascal@14714 8 LICENSE="LGPL2.1 MPL"
al@20331 9 WEB_SITE="https://nice.freedesktop.org/wiki/"
al@20331 10
pankso@4067 11 TARBALL="$PACKAGE-$VERSION.tar.gz"
al@20331 12 WGET_URL="https://nice.freedesktop.org/releases/$TARBALL"
pascal@14714 13
al@20331 14 BUILD_DEPENDS="gnutls-dev glib-dev gstreamer0-dev gstreamer1-dev \
al@20331 15 gobject-introspection-dev"
al@21020 16 SPLIT="$PACKAGE-gst0 $PACKAGE-gst1 $PACKAGE $PACKAGE-dev"
pankso@4067 17
al@20331 18 compile_rules() {
al@20595 19 ./configure $CONFIGURE_ARGS &&
al@20595 20 fix libtool &&
al@20595 21 make &&
al@20595 22 make install
pankso@4067 23 }
pankso@4067 24
al@20331 25 genpkg_rules() {
al@20331 26 case $PACKAGE in
al@21020 27 *-gst0)
al@20331 28 copy libgstnice010.so
al@20749 29 DEPENDS="glib gstreamer0 libnice"
al@20331 30 CAT="multimedia|GStreamer-0.10 plugin"
al@20331 31 ;;
al@21020 32 *-gst1)
al@20331 33 copy libgstnice.so
al@20749 34 DEPENDS="glib gstreamer1 libnice"
al@20331 35 CAT="multimedia|GStreamer-1.0 plugin"
al@20331 36 ;;
al@20331 37 libnice)
al@20331 38 copy @std @rm
al@20749 39 DEPENDS="glib libgnutls"
al@20331 40 ;;
al@21020 41 *-dev)
al@20331 42 copy @dev
al@20331 43 DEPENDS="libnice libnice-gst0 libnice-gst1 \
al@20749 44 glib-dev gnutls-dev"
al@20331 45 ;;
al@20331 46 esac
pankso@4067 47 }