aboutsummaryrefslogtreecommitdiffstats
path: root/unmaintained/gsoap/APKBUILD
blob: 3730e768a9ce9cdd690984d38a5974d25feb708d (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
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
# Contributor: <xmingske@gmail.com>
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>

pkgname=gsoap
pkgver=2.8.23
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 openssl-dev'
subpackages="$pkgname-dev"
source="http://downloads.sourceforge.net/project/gsoap2/gSOAP/${pkgname}_${pkgver}.zip
	stdsoap2.c.diff
	stdsoap2.cpp.diff
	stdsoap2.h.diff
"

gsopa_major='2.8'

_builddir="$srcdir"/$pkgname-$gsopa_major

prepare() {
	cd "${_builddir}"
	for f in $source; do
		case $f in
		*.diff)	patch -p1 < "$srcdir"/$f
		esac
	done
}

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
}

md5sums="9aa06f75cd3e3defee3e81cb9a2d1743  gsoap_2.8.23.zip
24c9892ba231da9cff0fdfd834cebb71  stdsoap2.c.diff
8f62eb5fbd92c850c86ca4e6900efe1d  stdsoap2.cpp.diff
b8a9439699427356b1e90d4cfc1af146  stdsoap2.h.diff"
sha256sums="e1c30743f1c2cf40b2760568127e14af1b2a00c3026b2e5f0750e8c33d94c061  gsoap_2.8.23.zip
ab0dea89ffb1b98d5e6c7d0a4975b9c9c022099729217b898a15934f360d88d0  stdsoap2.c.diff
e0414a1127f9529dfb4b686b3721fd5aaedf46a8bd795b09cca24a1b66bd8872  stdsoap2.cpp.diff
9f73f51791be1f149c1ef0db676832f1c0cad6837d14931666b3b18083f4b7e4  stdsoap2.h.diff"
sha512sums="cc90aadfe09aa6406172c9ffa07696851ff594ca7c5b40819494badd8ce978d908d66de63a5831e7aec1bca18ee8b51ed02187057688a3b36eb0a21fe6e0f5a4  gsoap_2.8.23.zip
116c0e1fd9d3c17ba4625934c7cd158084a9f9198a4ffae0036589d923b010e58143a8aea7804adf91683114f0bc99494f3ecc4139006b901e975ccb429e3543  stdsoap2.c.diff
4d9b6f09407e3af95a8a2e282e5a379b5e313df21285beab69459a990aa035ee6e8fcba05b06e120f5f0e5b0e1f8499f8cdb4c41615f7cd5692fb875a88e46c8  stdsoap2.cpp.diff
de271db85f4bfef8a01392c8aca864b16da4efe4acb1919827f7145202db32fbc8c872b225d865bbe98e144cc579c46cb419e041475b3127fc7d442680938a0a  stdsoap2.h.diff"