aboutsummaryrefslogtreecommitdiffstats
path: root/community/gsoap/APKBUILD
blob: d4551e10b8e59bff92e5efe854d552b4aa2fc52f (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
# Contributor: <xmingske@gmail.com>
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=gsoap
pkgver=2.8.50
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 libressl-dev libtool"
subpackages="$pkgname-dev"
source="http://downloads.sourceforge.net/project/gsoap2/gsoap-${pkgver%.*}/gsoap_$pkgver.zip
	musl-fixes.patch
	libressl.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
}

sha512sums="45bbff06083971152054571749fc7dc84962ace550154399590d8b697f0cf702c1614cbfb9f9cd23bc87b3812817abfdcaa6fc210c5daa5e8197493ce0e52a72  gsoap_2.8.50.zip
ab917ece2b7fc507138c7920ddce99ef7a482bfef9e323366940987a75e7594ca91a081ed8d9b6a6b050346a6ebe7c9a9d2de9483beb54768384177e4bc15b9b  musl-fixes.patch
a0892700b55562880a58cd8411fb3386a2ae1785c9212a59d0d1c8ccdfa86553bb8d6fb3dd6c923453a1a47c586edbc924c6e7bd4f2436948693e39bd3b1ec73  libressl.patch"