APKBUILD 1.44 KB
Newer Older
1
# Automatically generated by apkbuild-cpan, template 1
2 3
# Contributor: Francesco Colista <fcolista@alpinelinux.org>
# Maintainer: Francesco Colista <fcolista@alpinelinux.org>
4 5
pkgname=perl-net-cli-interact
_pkgreal=Net-CLI-Interact
6
pkgver=2.200006
7 8 9 10 11
pkgrel=0
pkgdesc="Toolkit for CLI Automation"
url="http://search.cpan.org/dist/Net-CLI-Interact/"
arch="noarch"
license="GPL PerlArtistic"
12 13 14
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"
15
cpanmakedepends="   "
16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38
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
}

39 40 41
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"