aboutsummaryrefslogtreecommitdiffstats
path: root/testing/libupnpp/APKBUILD
blob: 76996aaca2d1ed0d22afce0100b941130e750368 (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
# Contributor: Marvin Steadfast <marvin@xsteadfastx.org>
# Maintainer: Marvin Steadfast <marvin@xsteadfastx.org>
pkgname=libupnpp
pkgver=0.16.1
pkgrel=1
pkgdesc="a C++ wrapper for libupnp"
url="https://opensourceprojects.eu/p/libupnpp"
arch="all"
license="LGPL-2.0-or-later"
options="!check"
depends=""
makedepends="curl-dev expat-dev libupnp-dev"
install=""
subpackages="$pkgname-dev"
source="libupnpp-$pkgver.tar.gz::http://www.lesbonscomptes.com/upmpdcli/downloads/libupnpp-$pkgver.tar.gz"
builddir="$srcdir/libupnpp-$pkgver"

build() {
	cd "$builddir"
	./configure --prefix=/usr
	make
}

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

sha512sums="0ebe2464e49a6373c84d1464d9ab27dce54235111bdd651036a5405b43cbb246b8fd183e46f616d6cc8649a70413a4909b9a9c86d8243412895917ccdaca8582  libupnpp-0.16.1.tar.gz"