aboutsummaryrefslogtreecommitdiffstats
path: root/unmaintained/perl-net-cli-interact/APKBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'unmaintained/perl-net-cli-interact/APKBUILD')
-rw-r--r--unmaintained/perl-net-cli-interact/APKBUILD39
1 files changed, 39 insertions, 0 deletions
diff --git a/unmaintained/perl-net-cli-interact/APKBUILD b/unmaintained/perl-net-cli-interact/APKBUILD
new file mode 100644
index 0000000000..248fbbcab3
--- /dev/null
+++ b/unmaintained/perl-net-cli-interact/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-net-cli-interact
+_pkgreal=Net-CLI-Interact
+pkgver=2.131260
+pkgrel=0
+pkgdesc="Toolkit for CLI Automation"
+url="http://search.cpan.org/dist/Net-CLI-Interact/"
+arch="noarch"
+license="GPL PerlArtistic"
+cpandepends="perl-moo perl-log-dispatch-configurator-any perl-path-class perl-log-dispatch-config perl-ipc-run perl-moox-types-mooselike perl-io-tty perl-class-load perl-net-telnet perl-class-mix"
+cpanmakedepends=" "
+depends="$cpandepends"
+makedepends="perl-dev $cpanmakedepends"
+subpackages="$pkgname-doc"
+source="http://search.cpan.org/CPAN/authors/id/O/OL/OLIVER/$_pkgreal-$pkgver.tar.gz"
+
+_builddir="$srcdir/$_pkgreal-$pkgver"
+
+prepare() {
+ cd "$_builddir"
+ PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
+}
+
+build() {
+ cd "$_builddir"
+ make && make test
+}
+
+package() {
+ cd "$_builddir"
+ make DESTDIR="$pkgdir" install || return 1
+ find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete
+}
+
+md5sums="e56eac3282a71152e34e837a337777d5 Net-CLI-Interact-2.131260.tar.gz"
+sha256sums="bb07151cf8eccedbdcaff7856530258f7c58a8d38a318674299dc397fb0d2122 Net-CLI-Interact-2.131260.tar.gz"
+sha512sums="9842914d023011a1bf78ab3720dc544fa5b0f9a1f7a45c53048a68d4cf0cf3ad8e92c9fa70ec86cfcd7aa97f6125a70b9472d4bfb6330330a72e88ffe2632c53 Net-CLI-Interact-2.131260.tar.gz"