mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-07-23 19:25:25 +03:00
Faster. Also friendlier to multicore systems. Remove ipv6 and reuseaddr options as they are default. Signed-off-by: Rosen Penev <rosenp@gmail.com>
42 lines
1,010 B
Text
42 lines
1,010 B
Text
# Maintainer: Francesco Colista <fcolista@alpinelinux.org>
|
|
# Contributor: Francesco Colista <fcolista@alpinelinux.org>
|
|
# Contributor: Mike Crute <mike@crute.us>
|
|
pkgname=libupnp
|
|
pkgver=1.14.7
|
|
pkgrel=1
|
|
pkgdesc="Portable Open Source UPnP Development Kit"
|
|
url="http://pupnp.sourceforge.net"
|
|
arch="all"
|
|
license="BSD-3-Clause"
|
|
makedepends="cmake samurai"
|
|
subpackages="$pkgname-dev"
|
|
source="https://github.com/pupnp/pupnp/releases/download/release-$pkgver/libupnp-$pkgver.tar.bz2"
|
|
|
|
# secfixes:
|
|
# 1.12.1-r1:
|
|
# - CVE-2020-13848
|
|
|
|
prepare() {
|
|
default_prepare
|
|
}
|
|
|
|
build() {
|
|
cmake -B build -G Ninja \
|
|
-DCMAKE_BUILD_TYPE=None \
|
|
-DCMAKE_INSTALL_PREFIX=/usr \
|
|
-DUPNP_BUILD_STATIC=OFF \
|
|
-Dsamples=OFF
|
|
cmake --build build
|
|
}
|
|
|
|
check() {
|
|
cmake --build build --target test
|
|
}
|
|
|
|
package() {
|
|
DESTDIR="$pkgdir" cmake --build build --target install
|
|
}
|
|
|
|
sha512sums="
|
|
8aacde63655d8673d50452c1c9e00c8e379e9a938bb0f510ab56764c397402519ca72d4481208ab08d7e2f5eb494f2713fed63a734401f62a9674a340f998e11 libupnp-1.14.7.tar.bz2
|
|
"
|