aboutsummaryrefslogtreecommitdiffstats
path: root/testing
diff options
context:
space:
mode:
authorStuart Cardall <developer@it-offshore.co.uk>2015-12-17 23:53:10 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2016-01-06 14:17:59 +0000
commitef4898b7ef7405e4bb46628b0d574847f5a7adad (patch)
tree2b923d33abbe041d10f3a127146156818b93807b /testing
parentb68b01d2080317ad96ad29c0ce31b88177600b5b (diff)
downloadaports-ef4898b7ef7405e4bb46628b0d574847f5a7adad.tar.bz2
aports-ef4898b7ef7405e4bb46628b0d574847f5a7adad.tar.xz
testing/perl-par-packer: new aport
Diffstat (limited to 'testing')
-rw-r--r--testing/perl-par-packer/APKBUILD36
1 files changed, 36 insertions, 0 deletions
diff --git a/testing/perl-par-packer/APKBUILD b/testing/perl-par-packer/APKBUILD
new file mode 100644
index 0000000000..9e939ea886
--- /dev/null
+++ b/testing/perl-par-packer/APKBUILD
@@ -0,0 +1,36 @@
+# Contributor: Stuart Cardall <developer@it-offshore.co.uk>
+# Maintainer: Stuart Cardall <developer@it-offshore.co.uk>
+pkgname=perl-par-packer
+pkgver=1.028
+_realname=PAR-Packer-$pkgver
+pkgrel=0
+pkgdesc="App::Packer::Backend interface, for generating stand-alone executables, perl scripts and PAR files"
+url="http://search.cpan.org/dist/Par-Packer/"
+arch="all"
+license="GPL PerlArtistic"
+cpandepends=""
+cpanmakedepends=""
+depends="$cpandepends"
+makedepends="perl-dev $cpanmakedepends perl-archive-zip perl-par perl-par-dist perl-module-scandeps perl-getopt-argvfile"
+subpackages="$pkgname-doc"
+source="http://search.cpan.org/CPAN/authors/id/R/RS/RSCHUPP/$_realname.tar.gz"
+
+_builddir="$srcdir"/$_realname
+
+build() {
+ cd "$_builddir"
+ mkdir blib
+ cp -rf lib script blib/ # fix parallel install issue on build server
+ PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor || return 1
+ make || return 1
+}
+
+package() {
+ cd "$_builddir"
+ make DESTDIR="$pkgdir" install || return 1
+ find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete
+}
+
+md5sums="8fe37f242f6633558266b3575c5e200e PAR-Packer-1.028.tar.gz"
+sha256sums="a6276a88910eefeac08aa7c3afeea9005495ea0cc2230818df513ecec756473e PAR-Packer-1.028.tar.gz"
+sha512sums="245de0f5fcef082e21c39bd8e0ba1e77259a3ea80f29fe56613f5b97575e1c097b45662c163e15522ab7c5c74b8ad0204d6544a2d17258450738c8ef81e790a8 PAR-Packer-1.028.tar.gz"