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 | |
parent | f794fa78967e37c4ea4fecfb320e90c0c71a7036 (diff) | |
download | alpine_aports-761ed01ce84356f9834d551de0227c3f6618906e.tar.bz2 alpine_aports-761ed01ce84356f9834d551de0227c3f6618906e.tar.xz alpine_aports-761ed01ce84356f9834d551de0227c3f6618906e.zip |
testing/gupnp: new aport
A framework for creating UPnP devices & control points
http://www.gupnp.org/
-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 0000000000..4fc25cda26 --- /dev/null +++ b/testing/gupnp/APKBUILD | |||
@@ -0,0 +1,44 @@ | |||
1 | # Contributor: Natanael Copa <ncopa@alpinelinux.org> | ||
2 | # Maintainer: Natanael Copa <ncopa@alpinelinux.org> | ||
3 | pkgname=gupnp | ||
4 | pkgver=0.16.1 | ||
5 | pkgrel=0 | ||
6 | pkgdesc="A framework for creating UPnP devices & control points" | ||
7 | url="http://www.gupnp.org/" | ||
8 | arch="all" | ||
9 | license="LGPLv2+" | ||
10 | depends= | ||
11 | depends_dev="dbus-dev libsoup-dev libxml2-dev util-linux-ng-dev gssdp-dev" | ||
12 | makedepends="$depends_dev" | ||
13 | install="" | ||
14 | subpackages="$pkgname-dev $pkgname-doc" | ||
15 | source="http://www.gupnp.org/sites/all/files/sources/gupnp-$pkgver.tar.gz" | ||
16 | |||
17 | _builddir="$srcdir"/gupnp-$pkgver | ||
18 | prepare() { | ||
19 | local i | ||
20 | cd "$_builddir" | ||
21 | for i in $source; do | ||
22 | case $i in | ||
23 | *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;; | ||
24 | esac | ||
25 | done | ||
26 | } | ||
27 | |||
28 | build() { | ||
29 | cd "$_builddir" | ||
30 | ./configure --prefix=/usr \ | ||
31 | --sysconfdir=/etc \ | ||
32 | --mandir=/usr/share/man \ | ||
33 | --infodir=/usr/share/info \ | ||
34 | --localstatedir=/var \ | ||
35 | || return 1 | ||
36 | make || return 1 | ||
37 | } | ||
38 | |||
39 | package() { | ||
40 | cd "$_builddir" | ||
41 | make DESTDIR="$pkgdir" install || return 1 | ||
42 | } | ||
43 | |||
44 | md5sums="021bb237741532af4bca50157ff326e4 gupnp-0.16.1.tar.gz" | ||