aboutsummaryrefslogtreecommitdiffstats
path: root/community/gsoap/APKBUILD
blob: e500bea96ba6b9fa8974af53de560092724951c6 (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.100
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="090ace2a5df8b745e6c158031b4452f2860d76165f311e905919dbd7a0a7f76940dea192143cf7aebf5352298080616941e4e7541d77bf8e543d871730073f69  gsoap_2.8.100.zip"