wok-current view libupnp/receipt @ rev 25659
Update expat CVE-2023-52425,CVE-2023-52426, patch libxml2 CVE-2024-25062
author | Stanislas Leduc <shann@slitaz.org> |
---|---|
date | Sun Feb 18 10:03:28 2024 +0000 (10 months ago) |
parents | bc2b9d9bed6f |
children | 5926178cd6fa |
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 }