wok annotate libupnp/receipt @ rev 25037

Up glza (0.11.4)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat May 21 21:38:29 2022 +0000 (24 months ago)
parents bc2b9d9bed6f
children 7364ffdaaa60
rev   line source
pankso@4075 1 # SliTaz package receipt.
pankso@4075 2
pankso@4075 3 PACKAGE="libupnp"
Hans-G?nter@24845 4 VERSION="1.14.12"
pankso@4075 5 CATEGORY="network"
pankso@4075 6 SHORT_DESC="The portable Universal Plug and Play (UPnP)."
pankso@4075 7 MAINTAINER="pankso@slitaz.org"
pascal@15482 8 LICENSE="BSD"
Hans-G?nter@24845 9 WEB_SITE="https://github.com/pupnp/pupnp"
Hans-G?nter@21327 10
pankso@4075 11 TARBALL="$PACKAGE-$VERSION.tar.bz2"
Hans-G?nter@24845 12 WGET_URL="https://github.com/pupnp/pupnp/releases/download/release-$VERSION/$TARBALL"
pankso@4075 13
pascal@15482 14 DEPENDS="libxml2"
Hans-G?nter@24845 15 BUILD_DEPENDS="libpthread-stubs libxml2-dev"
pascal@15482 16
pascal@24411 17 # What is the latest version available today?
pascal@24411 18 current_version()
pascal@24411 19 {
pascal@24411 20 wget -O - https://github.com/pupnp/pupnp/releases 2>/dev/null | \
pascal@24614 21 sed '/archive.*tar/!d;s|.*/[a-z-]*\(.*\).tar.*|\1|;q'
pascal@24411 22 }
pascal@24411 23
pankso@4075 24 # Rules to configure and make the package.
pankso@4075 25 compile_rules()
pankso@4075 26 {
Hans-G?nter@21327 27 ./configure \
Hans-G?nter@21327 28 --prefix=/usr \
Hans-G?nter@21327 29 --disable-largefile \
pankso@4075 30 $CONFIGURE_ARGS &&
Hans-G?nter@24845 31 make &&
Hans-G?nter@24845 32 make install DESTDIR=$DESTDIR
pankso@4075 33 }
pankso@4075 34
pankso@4075 35 # Rules to gen a SliTaz package suitable for Tazpkg.
pankso@4075 36 genpkg_rules()
pankso@4075 37 {
Hans-G?nter@24845 38 cook_copy_files *.so*
pankso@4075 39 }