wok-6.x view libupnp/receipt @ rev 24533
updated f3 (7.2 -> 8.0)
author | Hans-G?nter Theisgen |
---|---|
date | Wed Feb 23 11:14:10 2022 +0100 (2022-02-23) |
parents | 6d955cb4f646 |
children | bc2b9d9bed6f |
line source
1 # SliTaz package receipt.
3 PACKAGE="libupnp"
4 VERSION="1.12.0"
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://pupnp.sourceforge.io/"
11 TARBALL="$PACKAGE-$VERSION.tar.bz2"
12 WGET_URL="$SF_MIRROR/pupnp/$TARBALL"
14 DEPENDS="libxml2"
15 BUILD_DEPENDS="libxml2-dev libpthread-stubs"
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 -j 1 &&
32 make DESTDIR=$DESTDIR install
33 }
35 # Rules to gen a SliTaz package suitable for Tazpkg.
36 genpkg_rules()
37 {
38 mkdir -p $fs/usr/lib
39 cp -a $install/usr/lib/*.so* $fs/usr/lib
40 }