wok annotate gssdp/receipt @ rev 25383

updated units (2.19 -> 2.21)
author Hans-G?nter Theisgen
date Sat Jul 30 17:22:12 2022 +0100 (2022-07-30)
parents 8197199493bf
children
rev   line source
pascal@16072 1 # SliTaz package receipt.
pascal@16072 2
pascal@16072 3 PACKAGE="gssdp"
pascal@16072 4 VERSION="0.14.7"
pascal@16072 5 CATEGORY="network"
pascal@16072 6 SHORT_DESC="Resource discovery and announcement over SSDP."
pascal@16072 7 MAINTAINER="pascal.bellard@slitaz.org"
pascal@16072 8 LICENSE="GPL2"
pascal@16072 9 TARBALL="$PACKAGE-$VERSION.tar.xz"
pascal@16072 10 WEB_SITE="https://wiki.gnome.org/action/show/Projects/GUPnP"
pascal@16072 11 WGET_URL="https://download.gnome.org/sources/$PACKAGE/${VERSION%.*}/$TARBALL"
pascal@16072 12
pascal@16072 13 DEPENDS="libsoup"
pascal@17754 14 BUILD_DEPENDS="wget pkg-config libsoup-dev sqlite-dev"
pascal@16072 15
pascal@24111 16 current_version()
pascal@24111 17 {
pascal@24111 18 wget -O - $(dirname $WGET_URL) 2>/dev/null | \
pascal@24111 19 sed "/$PACKAGE-[0-9]/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q
pascal@24111 20 }
pascal@24111 21
pascal@16072 22 # Rules to configure and make the package.
pascal@16072 23 compile_rules()
pascal@16072 24 {
pascal@16072 25 ./configure --prefix=/usr --infodir=/usr/share/info \
pascal@16072 26 --mandir=/usr/share/man \
pascal@16072 27 $CONFIGURE_ARGS &&
pascal@16072 28 make &&
pascal@16072 29 make DESTDIR=$DESTDIR install
pascal@16072 30 }
pascal@16072 31
pascal@16072 32 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@16072 33 genpkg_rules()
pascal@16072 34 {
pascal@16072 35 mkdir -p $fs/usr/lib
pascal@16072 36 cp -a $install/usr/lib/*.so* $fs/usr/lib
pascal@16072 37 }