summaryrefslogtreecommitdiffstats
path: root/testing/perl-soap-lite/APKBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'testing/perl-soap-lite/APKBUILD')
-rw-r--r--testing/perl-soap-lite/APKBUILD39
1 files changed, 39 insertions, 0 deletions
diff --git a/testing/perl-soap-lite/APKBUILD b/testing/perl-soap-lite/APKBUILD
new file mode 100644
index 000000000..fd7c5ee45
--- /dev/null
+++ b/testing/perl-soap-lite/APKBUILD
@@ -0,0 +1,39 @@
+# Automatically generated by apkbuild-cpan, template 1
+# Contributor: Francesco Colista <francesco.colista@gmail.com>
+# Maintainer: Francesco Colista <francesco.colista@gmail.com>
+pkgname=perl-soap-lite
+_pkgreal=SOAP-Lite
+pkgver=0.715
+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"
+cpanmakedepends=" "
+depends="$cpandepends"
+makedepends="perl-dev $cpanmakedepends"
+subpackages="$pkgname-doc"
+source="http://search.cpan.org/CPAN/authors/id/M/MK/MKUTTER/$_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 && make test
+}
+
+package() {
+ cd "$_builddir"
+ make DESTDIR="$pkgdir" install || return 1
+ find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete
+}
+
+md5sums="a44c41291ddddaa19c02a72cd554327b SOAP-Lite-0.715.tar.gz"