aboutsummaryrefslogtreecommitdiffstats
path: root/community/perl-net-cli-interact/APKBUILD
blob: 39627d1d6b3be9c0f19ed25039f53b9224d9bd4c (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
40
41
42
43
44
45
46
47
# 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.300003
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 perl-file-sharedir"
cpanmakedepends="perl-module-build perl-namespace-autoclean"
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"
	export CFLAGS=`perl -MConfig -E 'say $Config{ccflags}'`
	perl Build.PL installdirs=vendor
}

build() {
	cd "$builddir"
	export CFLAGS=`perl -MConfig -E 'say $Config{ccflags}'`
	./Build
}

check() {
	cd "$builddir"
	./Build test
}

package() {
	cd "$builddir"
	./Build install destdir="$pkgdir" || return 1
	find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete
}


sha512sums="b4693dd10b300616be93f043388552ed0bc265c5c515b676be64c3ae204f434ad305b7a8b35d14cdd5dec03b90684e69e848464df42fa398e23e86df3d6807e4  Net-CLI-Interact-2.300003.tar.gz"