aboutsummaryrefslogtreecommitdiffstats
path: root/testing/perl-soap-lite/APKBUILD
blob: d477cd5d97740c28a23e16841762be9bc1476b59 (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
# Automatically generated by apkbuild-cpan, template 1
# Contributor: Francesco Colista <fcolista@alpinelinux.org>
# Maintainer: Francesco Colista <fcolista@alpinelinux.org>
pkgname=perl-soap-lite
_pkgreal=SOAP-Lite
pkgver=1.20
pkgrel=0
pkgdesc="Perl's Web Services Toolkit"
url="http://search.cpan.org/dist/SOAP-Lite/"
arch="noarch"
license="GPL PerlArtistic"
cpandepends="perl-class-inspector perl-xml-parser perl-task-weaken perl-uri perl-http-daemon
perl-libwww perl-test-warn perl-test-mockobject perl-mime-tools perl-io-socket-ssl
perl-lwp-protocol-https perl-io-sessiondata perl-xml-simple"
cpanmakedepends="   "
depends="$cpandepends"
makedepends="perl-dev $cpanmakedepends"
subpackages="$pkgname-doc"
source="http://search.cpan.org/CPAN/authors/id/P/PH/PHRED/$_pkgreal-$pkgver.tar.gz"

_builddir="$srcdir/$_pkgreal-$pkgver"

prepare() {
	cd "$_builddir"
	export CFLAGS=`perl -MConfig -E 'say $Config{ccflags}'`
	PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
}

build() {
	cd "$_builddir"
	export CFLAGS=`perl -MConfig -E 'say $Config{ccflags}'`
	make
}

package() {
	cd "$_builddir"
	make DESTDIR="$pkgdir" install || return 1
	find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete
}

md5sums="b49632017cb5ba43c85d60cbe638af07  SOAP-Lite-1.20.tar.gz"
sha256sums="7e8761be631a1790e3a3578c0a4ff4fdabb5a26089c23bde35f8ba46dbe321e1  SOAP-Lite-1.20.tar.gz"
sha512sums="f83ad0224a774eb817a7e9556cf1f2eff8666a7d3cb1e16134e0038940afe4192965de7f2a5f7c5cbda78b52b165a239e57c1d79faf5fd0b8c497f2baf941398  SOAP-Lite-1.20.tar.gz"