aboutsummaryrefslogtreecommitdiffstats
path: root/community/gsoap/APKBUILD
blob: c04de7ab9a3e8f49cf5f6c3d1d095e773b2166f7 (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.101
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="1c67f93272dc912ff52afbe6a377142a01915e125cda8fca674bd4345560bd5a1734a254ef7a4215349ca78ebc5266687efe6fb363b414d62ef342a1f8f0c77a  gsoap_2.8.101.zip"