aboutsummaryrefslogtreecommitdiffstats
path: root/testing/perl-soap-lite/APKBUILD
blob: bf32ecbecff3f523066a657f2728c43777a3d8f0 (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
# 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.27
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
	find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete
}

sha512sums="38ecd0eb2af3ca415cb82e98a68aabd2cd3eca1625a7850723ae3c9f03f32f1ce3141d2a9382b80e250a88e3007eb7a0aa75f47c7e593c2c2025a29c8c32ee3b  SOAP-Lite-1.27.tar.gz"