aboutsummaryrefslogtreecommitdiffstats
path: root/community/libupnp/APKBUILD
blob: d778b21e9a4210560ad1e9ea6d140f3c8e8b4365 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
# Maintainer: Francesco Colista <fcolista@alpinelinux.org>
# Contributor: Francesco Colista <fcolista@alpinelinux.org>
# Contributor: Mike Crute <mike@crute.us>
pkgname=libupnp
pkgver=1.14.0
pkgrel=0
pkgdesc="Portable Open Source UPnP Development Kit"
url="http://pupnp.sourceforge.net"
arch="all"
license="BSD-3-Clause"
makedepends="automake autoconf libtool"
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
	autoreconf
}

build() {
	./configure \
		--prefix=/usr \
		--enable-ipv6 \
		--enable-static=no \
		--enable-reuseaddr
	make
}

check() {
	make check
}

package() {
	make DESTDIR="$pkgdir" install
}

sha512sums="c1ceaa4116dc514607d092126f98a32b6b01d3251464615e3a716254d474559d1df785203daf21b44b0edb34a72e978f8a9fde697336258a8c225b55aa9e0db5  libupnp-1.14.0.tar.bz2"