diff options
author | Francesco Colista <francesco.colista@gmail.com> | 2011-04-12 14:05:09 +0000 |
---|---|---|
committer | Francesco Colista <francesco.colista@gmail.com> | 2011-04-12 14:06:27 +0000 |
commit | 932416f0c6d8eee2516a958dbc9cf997cb69ff22 (patch) | |
tree | ad7865ce2603bd490c7203b9c5815686c0c7a457 /testing/libupnp/APKBUILD | |
parent | a7a3245c6ed6653beb1d6ba3f4a773e7fe852931 (diff) | |
download | aports-932416f0c6d8eee2516a958dbc9cf997cb69ff22.tar.bz2 aports-932416f0c6d8eee2516a958dbc9cf997cb69ff22.tar.xz |
testing/libupnp: new aport - Portable Open Source UPnP Development Kit
Diffstat (limited to 'testing/libupnp/APKBUILD')
-rw-r--r-- | testing/libupnp/APKBUILD | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/testing/libupnp/APKBUILD b/testing/libupnp/APKBUILD new file mode 100644 index 000000000..4964dd511 --- /dev/null +++ b/testing/libupnp/APKBUILD @@ -0,0 +1,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" |