# $Id: PKGBUILD 64430 2012-02-13 06:18:52Z spupykin $ # Maintainer: Sergej Pupykin # Contributor: Tor Krill # Contributor: Lee.MaRS pkgname=gsoap pkgver=2.8.7 pkgrel=1 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' 'mips64el') license=('GPL' 'custom') depends=('openssl' 'zlib' 'gcc-libs') makedepends=('autoconf' 'automake') source=(http://prdownloads.sourceforge.net/gsoap2/${pkgname}_${pkgver}.zip LICENSE) md5sums=('48a8dfddffd8f10b3ca82a6a9583e206' '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 }