wok annotate libupnp/receipt @ rev 25809
Fix gtk+3 dep for libwnck3, thanks Ceel
author | Stanislas Leduc <shann@slitaz.org> |
---|---|
date | Fri Jan 03 16:23:37 2025 +0000 (7 days ago) |
parents | 8d89d0298bca |
children |
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@25600 | 21 sed '/tag\//!d;s|.*tag/[a-z-]*||;s|".*||;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 } |