aboutsummaryrefslogtreecommitdiffstats
path: root/community/perl-net-cli-interact/APKBUILD
blob: 968063365edcb69b2dca33ebdcf4f245ccf9caec (plain) (blame)
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
40
41
42
# Automatically generated by apkbuild-cpan, template 1
# Contributor: Francesco Colista <fcolista@alpinelinux.org>
# Maintainer: Francesco Colista <fcolista@alpinelinux.org>
pkgname=perl-net-cli-interact
_pkgreal=Net-CLI-Interact
pkgver=2.200006
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-mro-compat
perl-io-tty perl-class-load perl-net-telnet perl-class-mix perl-eval-closure
perl-devel-stacktrace perl-params-validationcompiler"
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="d519aa3e4b3461751a4efe4f42b1d139  Net-CLI-Interact-2.200006.tar.gz"
sha256sums="6f34950ce7c77358be9f11d703433d9c85614af805ab3a57f0a0ec0291d5484c  Net-CLI-Interact-2.200006.tar.gz"
sha512sums="2197af9baa6f021a303c1ca60740cb6303a10860090edbdebdcb97db904e19eab2e245012ad4e80f49fa78141b4adf059602fec4bfdff371f430343d833ce28a  Net-CLI-Interact-2.200006.tar.gz"