summaryrefslogtreecommitdiffstats
path: root/testing/libupnp/APKBUILD
blob: 4964dd5110dc33236d5fe02021d812c1f840d52e (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: Francesco Colista <francesco.colista@gmail.com>
# Maintainer: Francesco Colista <francesco.colista@gmail.com>
pkgname=libupnp
pkgver=1.6.13
pkgrel=0
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
}

md5sums="71476b1781ad179bfc9bead640be5f54  libupnp-1.6.13.tar.bz2"