blob: 4c1c8ba1d75ff0f7979f94062fa91150311301b1 (
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.22
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="c5483cf4889e5f2803f879c69db2a2e672c6ef1cc8bd24546f91ac0a49878330f8202def35448fdeed498f3be69fd85a2b98cf4851c2f72a7dc834f254589ff1 SOAP-Lite-1.22.tar.gz"
|