summaryrefslogtreecommitdiff
path: root/testing/gupnp
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2011-09-29 23:14:32 +0000
committerroot <root@rshg054.dnsready.net>2011-09-29 23:14:32 +0000
commit0abb1942e8be584d56a1b35b2d1911cbe9f5bbd1 (patch)
tree1a8030f72ecc9d90c9f4c41d9a9d0662169b6404 /testing/gupnp
parentf8db5d1487e8e0ceeb97a396e357c1540a047ed8 (diff)
Thu Sep 29 23:14:32 UTC 2011
Diffstat (limited to 'testing/gupnp')
-rw-r--r--testing/gupnp/PKGBUILD32
1 files changed, 32 insertions, 0 deletions
diff --git a/testing/gupnp/PKGBUILD b/testing/gupnp/PKGBUILD
new file mode 100644
index 000000000..3a86e8bb7
--- /dev/null
+++ b/testing/gupnp/PKGBUILD
@@ -0,0 +1,32 @@
+# $Id: PKGBUILD 138977 2011-09-28 19:31:58Z ibiru $
+# Maintainer: Jan "heftig" Steffens <jan.steffens@gmail.com>
+# Contributor: György Balló <ballogy@freestart.hu>
+
+pkgname=gupnp
+pkgver=0.16.1
+pkgrel=1
+pkgdesc="An object-oriented UPNP framework"
+arch=('i686' 'x86_64')
+url="http://gupnp.org/"
+license=('LGPL')
+depends=('gssdp')
+makedepends=('gobject-introspection' 'gtk-doc')
+optdepends=('python2: gupnp-binding-tool')
+options=('!libtool')
+source=(http://gupnp.org/sites/all/files/sources/$pkgname-$pkgver.tar.gz)
+sha256sums=('f01a1f4fd36ce161a3df29fa83e1a0a2fb40d3c9f30f6b403e7791688ad24cfe')
+
+build() {
+ cd "$srcdir/$pkgname-$pkgver"
+
+ sed -i '1s|^#!.*python$|&2|' tools/gupnp-binding-tool
+
+ ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var \
+ --disable-static
+ make
+}
+
+package() {
+ cd "$srcdir/$pkgname-$pkgver"
+ make DESTDIR="$pkgdir" install
+}