aboutsummaryrefslogtreecommitdiffstats
path: root/community/gsoap/APKBUILD
blob: 4081390c172b3ec126ae0d18f69da6dd3134651d (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
38
39
40
41
# Contributor: <xmingske@gmail.com>
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=gsoap
pkgver=2.8.34
pkgrel=0
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 openssl-dev libtool"
subpackages="$pkgname-dev"
source="http://downloads.sourceforge.net/project/gsoap2/gSOAP/${pkgname}_${pkgver}.zip
	musl-fixes.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
}

md5sums="abc4cd7a3b3c042cf2eeb7c0d791bad5  gsoap_2.8.34.zip
ce945058c898a360951c11d574699872  musl-fixes.patch"
sha256sums="94b51ff91b241d2cd6206056bbd3d3cde2560e99296cffc5a8f6f49672469377  gsoap_2.8.34.zip
db122e51e629121ce295f76e1f0d90595c5450c42d46342def50c56696150363  musl-fixes.patch"
sha512sums="112ac6699416fa63bef231480333b763e24337cc0f3a17d3e0f8cb8bc18ddf3518048b2a02576ba9f865849b704d6a0e46e754f9a31449b5e14ce9a36f13c70e  gsoap_2.8.34.zip
4c96126bdd9263fd686e7e9283e80d751f209a03d5920b9c3763851a1a8a48d48e1740eaa9269f05a1b3128a9476323a2359904dfd4c2ac43f5cee5ff64e4b98  musl-fixes.patch"