aboutsummaryrefslogtreecommitdiffstats
path: root/community/perl-data-compare
diff options
context:
space:
mode:
authorFrancesco Colista <fcolista@alpinelinux.org>2016-08-25 15:29:22 +0000
committerFrancesco Colista <fcolista@alpinelinux.org>2016-08-25 15:29:22 +0000
commitc3b073d5e2e161b2653e4b4b146cdc550eb436e7 (patch)
treefe412ab4ca64293ed4c98feb155737fff2c79c60 /community/perl-data-compare
parent40617ce57c3a2579637225ed094db21e8d13f70b (diff)
downloadaports-c3b073d5e2e161b2653e4b4b146cdc550eb436e7.tar.bz2
aports-c3b073d5e2e161b2653e4b4b146cdc550eb436e7.tar.xz
community/perl-data-compare: moved from testing
Diffstat (limited to 'community/perl-data-compare')
-rw-r--r--community/perl-data-compare/APKBUILD41
1 files changed, 41 insertions, 0 deletions
diff --git a/community/perl-data-compare/APKBUILD b/community/perl-data-compare/APKBUILD
new file mode 100644
index 0000000000..2f5d1596ad
--- /dev/null
+++ b/community/perl-data-compare/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-data-compare
+_pkgreal=Data-Compare
+pkgver=1.25
+pkgrel=0
+pkgdesc="unknown"
+url="http://search.cpan.org/dist/Data-Compare/"
+arch="noarch"
+license="GPL PerlArtistic"
+cpandepends="perl-file-find-rule"
+cpanmakedepends=" "
+depends="$cpandepends"
+makedepends="perl-dev $cpanmakedepends"
+subpackages="$pkgname-doc"
+source="http://search.cpan.org/CPAN/authors/id/D/DC/DCANTRELL/$_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="6a397ab5833237f3ca05ed7277b19a7a Data-Compare-1.25.tar.gz"
+sha256sums="1d4b36db545fa9fbacd8c012618f6a7846238ee12ab627a2764cfaf45ad4ea73 Data-Compare-1.25.tar.gz"
+sha512sums="6db1235672030aa1afe52de1de9fac1f8a2af9eed99a3143d6c5b30669908125f584638fe06b8b33208f6d7fb734ccec7381c9411408a3f4fde1998707f748c9 Data-Compare-1.25.tar.gz"