aboutsummaryrefslogtreecommitdiffstats
path: root/community/gsoap/APKBUILD
blob: 74a10849865e3ca45e4b24da1007d697def097a5 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
# Contributor: <xmingske@gmail.com>
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=gsoap
pkgver=2.8.102
pkgrel=1
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
	gsoap-fix-parallel-build.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="3cff65605b15f820c9d56e32575231fb6fb89927bafc1db85ac1f879acd8496d6f38b558e994d17cce475beae0976d5fafcff7f22b28cdfbec8b7ec4b08bcbe7  gsoap_2.8.102.zip
081217f40e193d0645cd2a196c880574901de38ef561a2d880b79c081c6cbba234b5496195ea6681cf6222d38ace8a31a5c21be3b34165f71c0c0a7ed8a8e2b5  gsoap-libtool.patch
cb701c6d475970b0379468f8b93231eed7e35538da2b212de708ed00dea61c1f2665d360432a0814498e90ed38d53ccf1582abc0266c94ecc1053c39beeacf30  gsoap-fix-parallel-build.patch"