wok view libupnp/receipt @ rev 24693
updated jwm (2.3.7 -> 2.4.1)
author | Hans-G?nter Theisgen |
---|---|
date | Sun Mar 13 07:13:46 2022 +0100 (2022-03-13) |
parents | 65d7d867e0c1 |
children | 8d89d0298bca |
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 }