aboutsummaryrefslogtreecommitdiffstats
path: root/community
diff options
context:
space:
mode:
authorFrancesco Colista <fcolista@alpinelinux.org>2016-08-19 09:33:13 +0000
committerFrancesco Colista <fcolista@alpinelinux.org>2016-08-19 11:24:37 +0000
commite7ec599f76ab0eefa21507beb865b57085202ff4 (patch)
tree11e689123ecf61466091394d1d9b1ad77e70e84c /community
parent6d214e6aac8320ae1d14fd7d7637caedafe8b457 (diff)
downloadaports-e7ec599f76ab0eefa21507beb865b57085202ff4.tar.bz2
aports-e7ec599f76ab0eefa21507beb865b57085202ff4.tar.xz
community/perl-spreadsheet-parseexcel: moved from testing
Diffstat (limited to 'community')
-rw-r--r--community/perl-spreadsheet-parseexcel/APKBUILD39
1 files changed, 39 insertions, 0 deletions
diff --git a/community/perl-spreadsheet-parseexcel/APKBUILD b/community/perl-spreadsheet-parseexcel/APKBUILD
new file mode 100644
index 0000000000..1fda834a79
--- /dev/null
+++ b/community/perl-spreadsheet-parseexcel/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-spreadsheet-parseexcel
+_pkgreal=Spreadsheet-ParseExcel
+pkgver=0.59
+pkgrel=0
+pkgdesc="Read information from an Excel file."
+url="http://search.cpan.org/dist/Spreadsheet-ParseExcel/"
+arch="noarch"
+license="GPL PerlArtistic"
+cpandepends="perl-digest-perl-md5 perl-ole-storage_lite perl-io-stringy perl-crypt-rc4"
+cpanmakedepends=" "
+depends="$cpandepends"
+makedepends="perl-dev $cpanmakedepends"
+subpackages="$pkgname-doc"
+source="http://search.cpan.org/CPAN/authors/id/J/JM/JMCNAMARA/$_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="7ed6487d09135a9ee6ae9c290dad3a5e Spreadsheet-ParseExcel-0.59.tar.gz"