# Contributor: # Maintainer: Natanael Copa pkgname=gsoap pkgver=2.8.80 pkgrel=0 arch="all" pkgdesc="Cross-platform C and C++ SDK for SOAP/XML Web services" license="GPL-2.0-or-later gSOAP-1.3b" url="http://gsoap2.sourceforge.net" makedepends="autoconf automake bison flex openssl-dev libtool zlib-dev" subpackages="$pkgname-dev" source="https://downloads.sourceforge.net/project/gsoap2/gsoap-${pkgver%.*}/gsoap_$pkgver.zip musl-fixes.patch musl-needs-_GNU_SOURCE-too.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 \ --enable-c-locale make -j1 } package() { cd "$builddir" make DESTDIR="$pkgdir" install } sha512sums="7018f9904d6b3cd5f0d6dacdd03e399fa01df450ec37a4fd29988657b639b86027da62ffc8b03b79a05547e80250fb974b56784fb57e4583899bc8c1958aa8e1 gsoap_2.8.80.zip 97b4b932807b74436331e4a665a6f36f49e4533107d3948e45659d2cdf939c9d24650e7233e1a3a9e3e87db6a7821ab0a4502454d2579fff9e7a5f0b1f2cbb03 musl-fixes.patch 663fb1572e0e6283bb9ef994b2e2a0f828d25a69454447d5a2b602aa396c8fe57c1b3c4098e5c26603e693931ac17d8dc5702c8ef6a00b8fec6a43ff9317a05c musl-needs-_GNU_SOURCE-too.patch"