summaryrefslogtreecommitdiff
path: root/system
diff options
context:
space:
mode:
authorA. Wilcox <AWilcox@Wilcox-Tech.com>2018-06-25 19:33:28 -0500
committerA. Wilcox <AWilcox@Wilcox-Tech.com>2018-06-25 19:33:28 -0500
commitdb92b34c2965c2965a56431f866cffda7d86ae79 (patch)
treef19f51a16af6ae5ce4e8859855d2f0588e7b3a7b /system
parentdc65347c31bba922f8186874cac8db2c909ec399 (diff)
downloadpackages-db92b34c2965c2965a56431f866cffda7d86ae79.tar.gz
packages-db92b34c2965c2965a56431f866cffda7d86ae79.tar.bz2
packages-db92b34c2965c2965a56431f866cffda7d86ae79.tar.xz
packages-db92b34c2965c2965a56431f866cffda7d86ae79.zip
system/perl-error: pull in for git
Diffstat (limited to 'system')
-rw-r--r--system/perl-error/APKBUILD40
1 files changed, 40 insertions, 0 deletions
diff --git a/system/perl-error/APKBUILD b/system/perl-error/APKBUILD
new file mode 100644
index 000000000..6c3a1235a
--- /dev/null
+++ b/system/perl-error/APKBUILD
@@ -0,0 +1,40 @@
+# Maintainer:
+pkgname=perl-error
+_realname=Error
+pkgver=0.17026
+pkgrel=0
+pkgdesc="Perl module error/exception handling in an OO-ish way"
+url="http://search.cpan.org/dist/Error/"
+arch="noarch"
+license="GPL-2.0-only AND Artistic-1.0-Perl"
+depends="perl"
+makedepends="perl-dev"
+install=
+subpackages="$pkgname-doc"
+source="http://search.cpan.org/CPAN/authors/id/S/SH/SHLOMIF/$_realname-$pkgver.tar.gz"
+builddir="$srcdir"/$_realname-$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
+}
+
+check() {
+ cd "$builddir"
+ make test
+}
+
+package() {
+ cd "$builddir"
+ make DESTDIR="$pkgdir" install
+ find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete
+}
+
+sha512sums="58d43a133fb74d94d726ae923cdfb7df8e1faf156247bb07cb7308218e21a627485f031d029b3ee3179d92e756dca7f1e6dd1e2f4378f420c72b171aefe2f410 Error-0.17026.tar.gz"