diff options
Diffstat (limited to 'libre/gsoap-legacy/PKGBUILD')
-rw-r--r-- | libre/gsoap-legacy/PKGBUILD | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/libre/gsoap-legacy/PKGBUILD b/libre/gsoap-legacy/PKGBUILD new file mode 100644 index 000000000..addcd690a --- /dev/null +++ b/libre/gsoap-legacy/PKGBUILD @@ -0,0 +1,36 @@ +# $Id$ +# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com> +# Contributor: Tor Krill <tor@krill.nu> +# Contributor: Lee.MaRS <leemars@gmail.com> + +_pkgname=gsoap +pkgname=gsoap-legacy +pkgver=2.8.11 +pkgrel=1 +pkgdesc="Offers an XML language binding to ease the development of SOAP/XML Web services in C and C/C++ (legacy version)" +url="http://www.cs.fsu.edu/~engelen/soap.html" +arch=('i686' 'x86_64') +license=('GPL' 'custom') +depends=('openssl' 'zlib' 'gcc-libs') +makedepends=('autoconf' 'automake') +conflicts=('gsoap') +source=(http://prdownloads.sourceforge.net/gsoap2/${_pkgname}_${pkgver}.zip + LICENSE) +md5sums=('ea2d7ee876d274a188b8fbb365702eec' + '27aaa3f5166db94d44044c11a7b2c37b') + +build() { + cd $srcdir/gsoap-2.8 + [ -f Makefile ] || CXXFLAGS=-fPIC CFLAGS=-fPIC LDFLAGS=-fPIC ./configure --prefix=/usr + make -j1 +} + +package() { + cd $srcdir/gsoap-2.8 + 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 +} |