aboutsummaryrefslogtreecommitdiffstats
path: root/community/gsoap/APKBUILD
blob: 9aa1cee0e593e9a5fbe2c017e9944db9c8345dd0 (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
32
33
34
35
36
37
38
# Contributor: <xmingske@gmail.com>
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=gsoap
pkgver=2.8.104
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-static $pkgname-dev"
source="https://downloads.sourceforge.net/project/gsoap2/gsoap-${pkgver%.*}/gsoap_$pkgver.zip
	gsoap-libtool.patch
	"
builddir="$srcdir/$pkgname-${pkgver%.*}"

prepare() {
	default_prepare
	autoreconf -vif
}

build() {
	./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
}

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

sha512sums="0199360d3f631720ad9846d96b08390c7ff8756d797239be1121b2a52ac0ffbe7df32b01444f8ea7a4aa1d836d9fa93cf5b2879708e93f7f07972fc6d4df92b1  gsoap_2.8.104.zip
081217f40e193d0645cd2a196c880574901de38ef561a2d880b79c081c6cbba234b5496195ea6681cf6222d38ace8a31a5c21be3b34165f71c0c0a7ed8a8e2b5  gsoap-libtool.patch"