wok-next annotate gupnp/receipt @ rev 20404
Up cookutils (1019)
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Thu Dec 07 14:34:32 2017 +0200 (2017-12-07) |
parents | cb18a67a7ff6 |
children | 0ec6086e21d6 |
rev | line source |
---|---|
al@20095 | 1 # SliTaz package receipt v2. |
pascal@16072 | 2 |
pascal@16072 | 3 PACKAGE="gupnp" |
al@20095 | 4 VERSION="1.0.2" |
pascal@16072 | 5 CATEGORY="network" |
al@20095 | 6 SHORT_DESC="Framework for creating UPnP devices and control points" |
pascal@16072 | 7 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@16072 | 8 LICENSE="LGPL2" |
al@20095 | 9 WEB_SITE="https://wiki.gnome.org/Projects/GUPnP" |
al@20095 | 10 |
pascal@16072 | 11 TARBALL="$PACKAGE-$VERSION.tar.xz" |
al@20095 | 12 WGET_URL="$GNOME_MIRROR/$PACKAGE/${VERSION%.*}/$TARBALL" |
pascal@16072 | 13 |
al@20095 | 14 BUILD_DEPENDS="util-linux-uuid-dev glib-dev gssdp-dev libsoup-dev libxml2-dev \ |
al@20095 | 15 gobject-introspection-dev gtk-doc vala" |
al@20095 | 16 SPLIT="gupnp-dev" |
pascal@16072 | 17 |
al@20095 | 18 compile_rules() { |
al@20095 | 19 ./configure $CONFIGURE_ARGS && make && make install |
pascal@16072 | 20 } |
pascal@16072 | 21 |
al@20095 | 22 genpkg_rules() { |
al@20095 | 23 case $PACKAGE in |
al@20095 | 24 gupnp) |
al@20095 | 25 copy @std |
al@20095 | 26 DEPENDS="glib gssdp libsoup libxml2 util-linux-uuid" |
al@20095 | 27 ;; |
al@20095 | 28 *-dev) |
al@20095 | 29 copy @dev |
al@20095 | 30 DEPENDS="gupnp glib-dev gssdp-dev libffi-dev libsoup-dev \ |
al@20095 | 31 libxml2-dev pcre-dev sqlite3-dev util-linux-blkid-dev \ |
al@20095 | 32 util-linux-mount-dev util-linux-uuid-dev xz-dev zlib-dev" |
al@20095 | 33 ;; |
al@20095 | 34 esac |
pascal@16072 | 35 } |