summaryrefslogtreecommitdiffstats
path: root/testing/perl-net-cli-interact/APKBUILD
blob: 248fbbcab394707e4c532fcb14f71114e21d94c9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
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"