summaryrefslogtreecommitdiff
path: root/gnome-unstable/gupnp/PKGBUILD
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2011-09-06 23:14:33 +0000
committerroot <root@rshg054.dnsready.net>2011-09-06 23:14:33 +0000
commite2fb609d3af7a203357fd6ca983fef5f4dfba7eb (patch)
tree17d9357a559130a65cb1988b1e09cf8f1dd6bc55 /gnome-unstable/gupnp/PKGBUILD
parente05f52e52ba779f4b0ebb5463dba9fc74f67f0b8 (diff)
Tue Sep 6 23:14:33 UTC 2011
Diffstat (limited to 'gnome-unstable/gupnp/PKGBUILD')
-rw-r--r--gnome-unstable/gupnp/PKGBUILD32
1 files changed, 32 insertions, 0 deletions
diff --git a/gnome-unstable/gupnp/PKGBUILD b/gnome-unstable/gupnp/PKGBUILD
new file mode 100644
index 000000000..bb387d0a6
--- /dev/null
+++ b/gnome-unstable/gupnp/PKGBUILD
@@ -0,0 +1,32 @@
+# $Id: PKGBUILD 137054 2011-09-05 18:38:40Z heftig $
+# 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
+}