diff options
author | Natanael Copa <ncopa@alpinelinux.org> | 2011-05-25 17:57:56 +0000 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2011-05-25 17:57:56 +0000 |
commit | 761ed01ce84356f9834d551de0227c3f6618906e (patch) | |
tree | 6205982e8e152fb368d0f69f9904419ca1d27fae /testing/gupnp | |
parent | f794fa78967e37c4ea4fecfb320e90c0c71a7036 (diff) | |
download | aports-761ed01ce84356f9834d551de0227c3f6618906e.tar.bz2 aports-761ed01ce84356f9834d551de0227c3f6618906e.tar.xz |
testing/gupnp: new aport
A framework for creating UPnP devices & control points
http://www.gupnp.org/
Diffstat (limited to 'testing/gupnp')
-rw-r--r-- | testing/gupnp/APKBUILD | 44 |
1 files changed, 44 insertions, 0 deletions
diff --git a/testing/gupnp/APKBUILD b/testing/gupnp/APKBUILD new file mode 100644 index 000000000..4fc25cda2 --- /dev/null +++ b/testing/gupnp/APKBUILD @@ -0,0 +1,44 @@ +# Contributor: Natanael Copa <ncopa@alpinelinux.org> +# Maintainer: Natanael Copa <ncopa@alpinelinux.org> +pkgname=gupnp +pkgver=0.16.1 +pkgrel=0 +pkgdesc="A framework for creating UPnP devices & control points" +url="http://www.gupnp.org/" +arch="all" +license="LGPLv2+" +depends= +depends_dev="dbus-dev libsoup-dev libxml2-dev util-linux-ng-dev gssdp-dev" +makedepends="$depends_dev" +install="" +subpackages="$pkgname-dev $pkgname-doc" +source="http://www.gupnp.org/sites/all/files/sources/gupnp-$pkgver.tar.gz" + +_builddir="$srcdir"/gupnp-$pkgver +prepare() { + local i + cd "$_builddir" + for i in $source; do + case $i in + *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;; + esac + done +} + +build() { + cd "$_builddir" + ./configure --prefix=/usr \ + --sysconfdir=/etc \ + --mandir=/usr/share/man \ + --infodir=/usr/share/info \ + --localstatedir=/var \ + || return 1 + make || return 1 +} + +package() { + cd "$_builddir" + make DESTDIR="$pkgdir" install || return 1 +} + +md5sums="021bb237741532af4bca50157ff326e4 gupnp-0.16.1.tar.gz" |