aboutsummaryrefslogtreecommitdiffstats
path: root/testing/libupnpp/APKBUILD
blob: 039f906ee9343b5b1028f93d40e7868817b4837f (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.0
pkgrel=1
pkgdesc="a C++ wrapper for libupnp"
url="https://opensourceprojects.eu/p/libupnpp"
arch="all"
license="LGPL2+"
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="f566751bb7e7742c060d3238ca02b7fddd9b963256c2589e434a21db77be719758992f92a3b42480cb00da09d4ee0bb15f8634c9706eb6f2b738f001c0d81ce0  libupnpp-0.16.0.tar.gz"