aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLeonardo Arena <rnalrd@alpinelinux.org>2015-09-19 14:18:52 +0000
committerLeonardo Arena <rnalrd@alpinelinux.org>2015-09-19 14:19:55 +0000
commit5e291d15a3634f3e7ad0579c4fbebd495e23a129 (patch)
tree4ed4f0a8bc529aa311d1d074aecac9ed84a9c648
parentc69823a83617ed9481c98d499d3cd5c97cffc673 (diff)
downloadaports-5e291d15a3634f3e7ad0579c4fbebd495e23a129.tar.bz2
aports-5e291d15a3634f3e7ad0579c4fbebd495e23a129.tar.xz
testing/perl-types-serialiser: new aport
-rw-r--r--testing/perl-types-serialiser/APKBUILD41
1 files changed, 41 insertions, 0 deletions
diff --git a/testing/perl-types-serialiser/APKBUILD b/testing/perl-types-serialiser/APKBUILD
new file mode 100644
index 0000000000..b306220df0
--- /dev/null
+++ b/testing/perl-types-serialiser/APKBUILD
@@ -0,0 +1,41 @@
+# Automatically generated by apkbuild-cpan, template 1
+# Contributor:
+# Maintainer:
+pkgname=perl-types-serialiser
+_pkgreal=Types-Serialiser
+pkgver=1.0
+pkgrel=0
+pkgdesc="unknown"
+url="http://search.cpan.org/dist/Types-Serialiser/"
+arch="noarch"
+license="GPL PerlArtistic"
+cpandepends=
+cpanmakedepends=" "
+depends="$cpandepends"
+makedepends="perl-dev $cpanmakedepends"
+subpackages="$pkgname-doc"
+source="http://search.cpan.org/CPAN/authors/id/M/ML/MLEHMANN/$_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="76460a2bfbc644672499af89192e03fe Types-Serialiser-1.0.tar.gz"
+sha256sums="7ad3347849d8a3da6470135018d6af5fd8e58b4057cd568c3813695f2a04730d Types-Serialiser-1.0.tar.gz"
+sha512sums="b786bcd3ee976a6ad948cc98a9c71d2cdcd30f485528eff059091f6d86ae7078c10ba2dc2982326fcf0184dbfbdddea84daff324c6ec6a129fe6aac01253c8fb Types-Serialiser-1.0.tar.gz"