aboutsummaryrefslogtreecommitdiffstats
path: root/testing/perl-data-difflet
diff options
context:
space:
mode:
authorLeonardo Arena <rnalrd@alpinelinux.org>2015-09-19 14:18:51 +0000
committerLeonardo Arena <rnalrd@alpinelinux.org>2015-09-19 14:19:53 +0000
commit46a741c845c4ff0b40282343860b5cab999a2695 (patch)
treef23c51ccabe1a7b2b3cdbf27decb77f48d773c40 /testing/perl-data-difflet
parent3a5a7e83cc7e69fe2139853f2f92722b9dab83da (diff)
downloadaports-46a741c845c4ff0b40282343860b5cab999a2695.tar.bz2
aports-46a741c845c4ff0b40282343860b5cab999a2695.tar.xz
testing/perl-data-difflet: new aport
Diffstat (limited to 'testing/perl-data-difflet')
-rw-r--r--testing/perl-data-difflet/APKBUILD42
1 files changed, 42 insertions, 0 deletions
diff --git a/testing/perl-data-difflet/APKBUILD b/testing/perl-data-difflet/APKBUILD
new file mode 100644
index 0000000000..883c948aa1
--- /dev/null
+++ b/testing/perl-data-difflet/APKBUILD
@@ -0,0 +1,42 @@
+# Automatically generated by apkbuild-cpan, template 1
+# Contributor:
+# Maintainer:
+pkgname=perl-data-difflet
+_pkgreal=Data-Difflet
+pkgver=0.11
+pkgrel=0
+pkgdesc="Perl module for Data-Difflet"
+url="http://search.cpan.org/dist/Data-Difflet/"
+arch="noarch"
+license="GPL PerlArtistic"
+cpandepends=""
+cpanmakedepends="perl-module-build"
+depends="$cpandepends"
+makedepends="perl-dev $cpanmakedepends"
+source="http://search.cpan.org/CPAN/authors/id/T/TO/TOKUHIROM/$_pkgreal-$pkgver.tar.gz"
+
+_builddir="$srcdir/$_pkgreal-$pkgver"
+
+prepare() {
+ cd "$_builddir"
+ if [ -e Build.PL ]; then
+ perl Build.PL installdirs=vendor || return 1
+ else
+ PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor || return 1
+ fi
+}
+
+build() {
+ cd "$_builddir"
+ export CFLAGS=`perl -MConfig -E 'say $Config{ccflags}'`
+ ./Build
+}
+
+package() {
+ cd "$_builddir"
+ install -D -m0644 lib/Data/Difflet.pm "$pkgdir"/usr/share/perl5/vendor_perl/Data/Difflet.pm
+}
+
+md5sums="9620f357f3762b151d063fa289de005d Data-Difflet-0.11.tar.gz"
+sha256sums="d12b86386489829e45d72ec750b3e6922bc02816d6346102e071e61195a8a211 Data-Difflet-0.11.tar.gz"
+sha512sums="ce3402f874773a8ee697a03d6857df61c369b7176bd519b7f3288450b7252dd918f4664317b2f9ad21358fc8711f46ea8e850ecd285de11300d397749862326a Data-Difflet-0.11.tar.gz"