summaryrefslogtreecommitdiff
path: root/community/gsoap/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'community/gsoap/PKGBUILD')
-rw-r--r--community/gsoap/PKGBUILD39
1 files changed, 39 insertions, 0 deletions
diff --git a/community/gsoap/PKGBUILD b/community/gsoap/PKGBUILD
new file mode 100644
index 000000000..4f0d35370
--- /dev/null
+++ b/community/gsoap/PKGBUILD
@@ -0,0 +1,39 @@
+# $Id: PKGBUILD 39568 2011-02-11 16:13:59Z spupykin $
+# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
+# Contributor: Tor Krill <tor@krill.nu>
+# Contributor: Lee.MaRS <leemars@gmail.com>
+
+pkgname=gsoap
+pkgver=2.8.1
+pkgrel=2
+pkgdesc="Offers an XML language binding to ease the development of SOAP/XML Web services in C and C/C++"
+url="http://www.cs.fsu.edu/~engelen/soap.html"
+arch=('i686' 'x86_64')
+license=('GPL' 'custom')
+depends=('openssl' 'zlib' 'gcc-libs')
+makedepends=('autoconf' 'automake')
+source=(http://prdownloads.sourceforge.net/gsoap2/${pkgname}_${pkgver}.zip
+ LICENSE)
+md5sums=('c9290f11628533d99d933d96a445437a'
+ '27aaa3f5166db94d44044c11a7b2c37b')
+
+build() {
+ cd $srcdir/gsoap-2.8
+
+# aclocal
+# autoheader
+# automake --add-missing
+# autoconf
+# automake
+ [ -f Makefile ] || CXXFLAGS=-fPIC CFLAGS=-fPIC LDFLAGS=-fPIC ./configure --prefix=/usr
+
+ make -j1
+ make DESTDIR=$pkgdir install
+
+ mkdir -p $pkgdir/usr/share/gsoap/import
+ mkdir -p $pkgdir/usr/share/gsoap/WS
+ cp -R gsoap/import $pkgdir/usr/share/gsoap/
+ cp -R gsoap/WS $pkgdir/usr/share/gsoap/
+
+ install -D ../LICENSE $pkgdir/usr/share/licenses/$pkgname/LICENSE
+}