aboutsummaryrefslogtreecommitdiffstats
path: root/testing/perl-io-sessiondata/APKBUILD
diff options
context:
space:
mode:
authorFrancesco Colista <fcolista@alpinelinux.org>2016-03-09 09:15:30 +0000
committerFrancesco Colista <fcolista@alpinelinux.org>2016-03-09 09:15:30 +0000
commit3b36eb79ec0829f1beee550749dc9e80b1d682dd (patch)
tree32cf441d504b32643bbb6a2c89de7b8f7c616869 /testing/perl-io-sessiondata/APKBUILD
parentcefce3228d9189a7d1516a8a67abaf84b81e74de (diff)
downloadaports-3b36eb79ec0829f1beee550749dc9e80b1d682dd.tar.bz2
aports-3b36eb79ec0829f1beee550749dc9e80b1d682dd.tar.xz
testing/perl-io-sessiondata: new aport
Diffstat (limited to 'testing/perl-io-sessiondata/APKBUILD')
-rw-r--r--testing/perl-io-sessiondata/APKBUILD41
1 files changed, 41 insertions, 0 deletions
diff --git a/testing/perl-io-sessiondata/APKBUILD b/testing/perl-io-sessiondata/APKBUILD
new file mode 100644
index 0000000000..5df3ae7d9e
--- /dev/null
+++ b/testing/perl-io-sessiondata/APKBUILD
@@ -0,0 +1,41 @@
+# Automatically generated by apkbuild-cpan, template 1
+# Contributor: Francesco Colista <fcolista@alpinelinux.org>
+# Maintainer: Francesco Colista <fcolista@alpinelinux.org>
+pkgname=perl-io-sessiondata
+_pkgreal=IO-SessionData
+pkgver=1.03
+pkgrel=0
+pkgdesc="supporting module for SOAP::Lite"
+url="http://search.cpan.org/dist/IO-SessionData/"
+arch="noarch"
+license="GPL PerlArtistic"
+cpandepends=""
+cpanmakedepends=" "
+depends="$cpandepends"
+makedepends="perl-dev $cpanmakedepends"
+subpackages=""
+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 && make test
+}
+
+package() {
+ cd "$_builddir"
+ make DESTDIR="$pkgdir" install || return 1
+ find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete
+}
+
+md5sums="790f9e05465c774cf9a6299500463104 IO-SessionData-1.03.tar.gz"
+sha256sums="64a4712a3edbb3fd10230db296c29c8c66f066adfbc0c3df6a48258fef392ddd IO-SessionData-1.03.tar.gz"
+sha512sums="3fe6c9c275c64e4250933f6bc377172ed09d123b5aab3ac981b12b42c571be5638728bdd0d16438f973606da5b6a583aeaf6213008f249ccee7e275383eebd6e IO-SessionData-1.03.tar.gz"