# Contributor: # Maintainer: Natanael Copa pkgname=gsoap pkgver=2.8.107 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-static $pkgname-dev" source="https://downloads.sourceforge.net/project/gsoap2/gsoap-${pkgver%.*}/gsoap_$pkgver.zip gsoap-libtool.patch " builddir="$srcdir/$pkgname-${pkgver%.*}" prepare() { default_prepare autoreconf -vif } build() { ./configure --prefix=/usr \ --mandir=/usr/share/man \ --infodir=/usr/share/info \ --exec-prefix=/usr \ --enable-ipv6 \ --enable-c-locale \ CFLAGS="$CFLAGS -D_GNU_SOURCE" make } package() { make DESTDIR="$pkgdir" install } sha512sums="0852b1cedae21085e3dfec1e2912a7da6f81f241ae76252774d6c983e856e44d718d3212e2ee83bef7cca2075a833e7fb58280629e27f5d1a85305f0e37cb928 gsoap_2.8.107.zip 081217f40e193d0645cd2a196c880574901de38ef561a2d880b79c081c6cbba234b5496195ea6681cf6222d38ace8a31a5c21be3b34165f71c0c0a7ed8a8e2b5 gsoap-libtool.patch"