aboutsummaryrefslogtreecommitdiffstats
path: root/testing/libupnp/APKBUILD
blob: 24c50cc720f12e6c0d0aa0f8ca405394e9b39241 (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
# Contributor: Francesco Colista <fcolista@alpinelinux.org>
# Maintainer: Francesco Colista <fcolista@alpinelinux.org>
pkgname=libupnp
pkgver=1.8.4
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://downloads.sourceforge.net/sourceforge/pupnp/${pkgname}-${pkgver}.tar.bz2
	disable-failing-test-init.patch"
builddir="$srcdir/$pkgname-$pkgver"
options="!check" # tests fail on x86_64, assumed broken

prepare() {
	autoreconf
}

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

check() {
	make check
}

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

sha512sums="403d7b6408a33330fc59fbe6284cc7bca10a675c41b323bba6b9c6461c8a82fbb39f4a1a07d1a3b55f049c637830ebf21bd825cd6c2f4eb17265018ccee9cbb6  libupnp-1.8.4.tar.bz2
ca773d0f025fc2733bd48bec4534f668d1e40e148b4e7fdec8f98948ebafc8edaba6cece3d1b5dbc43a14a7ca37f12dd854eaddddfb50b2e0df2f625ff11d20a  disable-failing-test-init.patch"