wok-next annotate libnice/receipt @ rev 20714
netkit-rsh: typo
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Sun May 27 12:56:13 2018 +0300 (2018-05-27) |
parents | de370e2d8541 |
children | 342b30daff76 |
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" |
pankso@4067 | 7 MAINTAINER="pankso@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@20331 | 16 SPLIT="libnice-gst0 libnice-gst1 libnice libnice-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@20331 | 27 libnice-gst0) |
al@20331 | 28 copy libgstnice010.so |
al@20331 | 29 DEPENDS="libnice gstreamer0 liblzma libxml2" |
al@20331 | 30 CAT="multimedia|GStreamer-0.10 plugin" |
al@20331 | 31 ;; |
al@20331 | 32 libnice-gst1) |
al@20331 | 33 copy libgstnice.so |
al@20331 | 34 DEPENDS="libnice gstreamer1" |
al@20331 | 35 CAT="multimedia|GStreamer-1.0 plugin" |
al@20331 | 36 ;; |
al@20331 | 37 libnice) |
al@20331 | 38 copy @std @rm |
al@20331 | 39 DEPENDS="glib gmp libffi libgnutls libidn libtasn1 libunistring \ |
al@20331 | 40 nettle p11-kit pcre util-linux-blkid util-linux-mount \ |
al@20331 | 41 util-linux-uuid zlib" |
al@20331 | 42 ;; |
al@20331 | 43 libnice-dev) |
al@20331 | 44 copy @dev |
al@20331 | 45 DEPENDS="libnice libnice-gst0 libnice-gst1 \ |
al@20331 | 46 glib-dev gmp-dev gnutls-dev gstreamer0-dev gstreamer1-dev \ |
al@20331 | 47 libffi-dev libidn-dev libtasn1-dev libunistring-dev libxml2-dev \ |
al@20331 | 48 nettle-dev p11-kit-dev pcre-dev util-linux-blkid-dev \ |
al@20331 | 49 util-linux-mount-dev util-linux-uuid-dev xz-dev zlib-dev" |
al@20331 | 50 ;; |
al@20331 | 51 esac |
pankso@4067 | 52 } |