aboutsummaryrefslogtreecommitdiffstats
path: root/community/gsoap/APKBUILD
blob: 0219994abca3c7519df440ae20f3a66e6527d698 (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
# Contributor: <xmingske@gmail.com>
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=gsoap
pkgver=2.8.96
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"
builddir="$srcdir/$pkgname-${pkgver%.*}"

build() {
	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 \
		CFLAGS="$CFLAGS -D_GNU_SOURCE"
	make -j1
}

package() {
	make DESTDIR="$pkgdir" install
}

sha512sums="df6a895aa3360cf20bb0e1118347053e4e8f662593c0655babfd1bb25a37ff882aef930f26dd359e09d09a3d9253d0fe34c22134629c9b8f62f03252b137758a  gsoap_2.8.96.zip"