aboutsummaryrefslogtreecommitdiffstats
path: root/community/gsoap/APKBUILD
blob: 02f2b2f43ce2bbac4dd8fba1c829ff608cadffd9 (plain)
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
# Contributor: <xmingske@gmail.com>
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
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"