wok-current annotate libupnp/receipt @ rev 24793
updated libgpg-error and libgpg-error-dev (1.37 -> 1.44)
author | Hans-G?nter Theisgen |
---|---|
date | Mon Mar 21 15:45:38 2022 +0100 (2022-03-21) |
parents | 65d7d867e0c1 |
children | 8d89d0298bca |
rev | line source |
---|---|
pankso@4075 | 1 # SliTaz package receipt. |
pankso@4075 | 2 |
pankso@4075 | 3 PACKAGE="libupnp" |
Hans-G?nter@23115 | 4 VERSION="1.12.0" |
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@21327 | 9 WEB_SITE="https://pupnp.sourceforge.io/" |
Hans-G?nter@21327 | 10 |
pankso@4075 | 11 TARBALL="$PACKAGE-$VERSION.tar.bz2" |
pankso@4075 | 12 WGET_URL="$SF_MIRROR/pupnp/$TARBALL" |
pankso@4075 | 13 |
pascal@15482 | 14 DEPENDS="libxml2" |
pascal@15482 | 15 BUILD_DEPENDS="libxml2-dev libpthread-stubs" |
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@21327 | 31 make -j 1 && |
slaxemulator@12341 | 32 make DESTDIR=$DESTDIR install |
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 { |
pankso@4075 | 38 mkdir -p $fs/usr/lib |
Hans-G?nter@23115 | 39 cp -a $install/usr/lib/*.so* $fs/usr/lib |
pankso@4075 | 40 } |