# Contributor: # Maintainer: Natanael Copa pkgname=gsoap pkgver=2.8.45 pkgrel=1 arch="all" pkgdesc='A cross-platform C and C++ SDK for SOAP/XML Web services' license="GPL-2 gSOAP" url="http://gsoap2.sourceforge.net" depends= makedepends="autoconf automake bison flex zlib-dev libressl-dev libtool" subpackages="$pkgname-dev" source="http://downloads.sourceforge.net/project/gsoap2/gsoap-${pkgver%.*}/gsoap_$pkgver.zip musl-fixes.patch libressl.patch " builddir="$srcdir"/$pkgname-${pkgver%.*} build() { cd "${builddir}" touch configure.ac aclocal.m4 configure Makefile.am Makefile.in ./configure --prefix=/usr \ --mandir=/usr/share/man \ --infodir=/usr/share/info \ --exec-prefix=/usr \ --enable-ipv6 \ || return 1 make -j1 || return 1 } package() { cd "$builddir" make DESTDIR="$pkgdir" install || return 1 } sha512sums="db45f2f8403143387f2860339a77695079fd3224700791846eb436d510a1008fe217c85b61b980340a4982d20ed0fef87dfd8d3de07be9953b627b539ca4af2a gsoap_2.8.45.zip 5093b720084f7bb72f6b0b25c982aaaf4f8c121b8b5e34690749ff40f5bd1ca1cc9e5adb9c597f0bfc432ca910b226f75cf22a6403820f93051e8e7191e74b07 musl-fixes.patch a0892700b55562880a58cd8411fb3386a2ae1785c9212a59d0d1c8ccdfa86553bb8d6fb3dd6c923453a1a47c586edbc924c6e7bd4f2436948693e39bd3b1ec73 libressl.patch"