summaryrefslogtreecommitdiffstats
path: root/testing/libupnp/APKBUILD
blob: 2c65517666ba516575d03c1e5a7d9867be3b25d7 (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
# Contributor: Francesco Colista <francesco.colista@gmail.com>
# Maintainer: Francesco Colista <francesco.colista@gmail.com>
pkgname=libupnp
pkgver=1.6.17
pkgrel=1
pkgdesc="Portable Open Source UPnP Development Kit"
url="http://pupnp.sourceforge.net/"
arch="all"
license="BSD"
depends=
depends_dev=
makedepends="$depends_dev"
install=""
subpackages="$pkgname-dev $pkgname-doc"
source="http://downloads.sourceforge.net/sourceforge/pupnp/${pkgname}-${pkgver}.tar.bz2"
_builddir="$srcdir"/$pkgname-$pkgver

build() {
	cd "$_builddir"
	./configure --prefix=/usr
	make || return 1
}

package() {
	cd "$_builddir"
	make DESTDIR="$pkgdir" install || return 1
	install -Dm644 LICENSE ${pkgdir}/usr/share/licenses/custom/${pkgname}/LICENSE
	find "$pkgdir" -name *.la -print | xargs rm
}

md5sums="efbf0d470ce7157bc0e6ca836e246de5  libupnp-1.6.17.tar.bz2"