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