aboutsummaryrefslogtreecommitdiffstats
path: root/testing/libupnp/APKBUILD
blob: ce0ced74e3d2a6ec81ca30b34acaae507720b459 (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
# Contributor: Francesco Colista <francesco.colista@gmail.com>
# Maintainer: Francesco Colista <francesco.colista@gmail.com>
pkgname=libupnp
pkgver=1.6.13
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="71476b1781ad179bfc9bead640be5f54  libupnp-1.6.13.tar.bz2"