diff options
author | Francesco Colista <francesco.colista@gmail.com> | 2012-10-27 18:03:57 +0000 |
---|---|---|
committer | Francesco Colista <francesco.colista@gmail.com> | 2012-10-27 18:03:57 +0000 |
commit | 2387c5b131ed8f29dfd3ff6011dfda2d0a31050a (patch) | |
tree | 04969b2012456216e2eb3e13461f5e69c778a659 /testing/perl-soap-lite/APKBUILD | |
parent | d87b446bf2cfaca644172ef948c4d5baab13c848 (diff) | |
download | aports-2387c5b131ed8f29dfd3ff6011dfda2d0a31050a.tar.bz2 aports-2387c5b131ed8f29dfd3ff6011dfda2d0a31050a.tar.xz |
testing/perl-soap-lite: new aport
Diffstat (limited to 'testing/perl-soap-lite/APKBUILD')
-rw-r--r-- | testing/perl-soap-lite/APKBUILD | 39 |
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" |