aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFrancesco Colista <francesco.colista@gmail.com>2012-10-27 18:03:57 +0000
committerFrancesco Colista <francesco.colista@gmail.com>2012-10-27 18:03:57 +0000
commit2387c5b131ed8f29dfd3ff6011dfda2d0a31050a (patch)
tree04969b2012456216e2eb3e13461f5e69c778a659
parentd87b446bf2cfaca644172ef948c4d5baab13c848 (diff)
downloadaports-2387c5b131ed8f29dfd3ff6011dfda2d0a31050a.tar.bz2
aports-2387c5b131ed8f29dfd3ff6011dfda2d0a31050a.tar.xz
testing/perl-soap-lite: new aport
-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 0000000000..fd7c5ee451
--- /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"