wok-next view gssdp/receipt @ rev 20454

Choose between libpng16 and libpng12
author Aleksej Bobylev <al.bobylev@gmail.com>
date Wed Feb 28 17:32:31 2018 +0200 (2018-02-28)
parents 8197199493bf
children d3444352a0af
line source
1 # SliTaz package receipt v2.
3 PACKAGE="gssdp"
4 VERSION="1.0.2"
5 CATEGORY="network"
6 SHORT_DESC="Resource discovery and announcement over SSDP"
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="GPL2"
9 WEB_SITE="https://wiki.gnome.org/Projects/GUPnP"
11 TARBALL="$PACKAGE-$VERSION.tar.xz"
12 WGET_URL="$GNOME_MIRROR/$PACKAGE/${VERSION%.*}/$TARBALL"
14 BUILD_DEPENDS="glib-dev libsoup-dev gtk+3-dev gobject-introspection-dev \
15 gtk-doc vala"
16 SPLIT="gssdp-bin gssdp gssdp-dev"
18 compile_rules() {
19 ./configure $CONFIGURE_ARGS && make && make install
20 }
22 genpkg_rules() {
23 case $PACKAGE in
24 *-bin)
25 copy bin/ *.ui
26 CAT="network|device sniffer"
27 DEPENDS="atk cairo gdk-pixbuf gssdp gtk+3 pango"
28 ;;
29 gssdp)
30 copy *.so*
31 DEPENDS="glib libsoup"
32 ;;
33 *-dev)
34 copy @dev
35 DEPENDS="${SPLIT/$PACKAGE/} glib-dev libffi-dev libsoup-dev \
36 libxml2-dev pcre-dev sqlite3-dev util-linux-blkid-dev \
37 util-linux-mount-dev util-linux-uuid-dev xz-dev zlib-dev"
38 ;;
39 esac
40 }