wok-next annotate gssdp/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 f48456621a9d
children
rev   line source
al@20095 1 # SliTaz package receipt v2.
pascal@16072 2
pascal@16072 3 PACKAGE="gssdp"
al@20095 4 VERSION="1.0.2"
pascal@16072 5 CATEGORY="network"
al@20095 6 SHORT_DESC="Resource discovery and announcement over SSDP"
pascal@16072 7 MAINTAINER="pascal.bellard@slitaz.org"
pascal@16072 8 LICENSE="GPL2"
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@21017 14 BUILD_DEPENDS="glib-dev libsoup-dev gtk3-dev gobject-introspection-dev \
al@20095 15 gtk-doc vala"
al@21020 16 SPLIT="$PACKAGE-bin $PACKAGE $PACKAGE-dev"
pascal@16072 17
al@20095 18 compile_rules() {
al@20573 19 ./configure $CONFIGURE_ARGS &&
al@20573 20 fix libtool &&
al@20573 21 make &&
al@20573 22 make install
pascal@16072 23 }
pascal@16072 24
al@20095 25 genpkg_rules() {
al@20095 26 case $PACKAGE in
al@20095 27 *-bin)
al@20095 28 copy bin/ *.ui
al@20095 29 CAT="network|device sniffer"
al@21017 30 DEPENDS="glib gssdp gtk3 libsoup"
al@20095 31 ;;
al@20095 32 gssdp)
al@20095 33 copy *.so*
al@20095 34 DEPENDS="glib libsoup"
al@20095 35 ;;
al@20095 36 *-dev)
al@20095 37 copy @dev
al@20749 38 DEPENDS="gssdp gssdp-bin \
al@20749 39 glib-dev"
al@20095 40 ;;
al@20095 41 esac
pascal@16072 42 }