mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-08-26 08:51:25 +02:00
45 lines
1.4 KiB
Plaintext
45 lines
1.4 KiB
Plaintext
# Automatically generated by apkbuild-cpan, template 1
|
|
# Contributor: Francesco Colista <fcolista@alpinelinux.org>
|
|
# Maintainer: Francesco Colista <fcolista@alpinelinux.org>
|
|
pkgname=perl-net-appliance-session
|
|
_pkgreal=Net-Appliance-Session
|
|
pkgver=4.300001
|
|
pkgrel=0
|
|
pkgdesc="Run command-line sessions to network appliances"
|
|
url="http://search.cpan.org/dist/Net-Appliance-Session/"
|
|
arch="noarch"
|
|
license="GPL PerlArtistic"
|
|
cpandepends="perl-moose perl-net-cli-interact perl-file-sharedir perl-text-glob
|
|
perl-io perl-term-readpassword perl-io-prompt-tiny"
|
|
cpanmakedepends="perl-module-build perl-namespace-autoclean perl-specio perl-params-validationcompiler"
|
|
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="0de00fdb19b601e141367d65dc67cb348e3c791f5febc148b12f609859b6a3f3d6a901e5c7b6dd1959ab4735b68d869d8869fa6120d3c5d3f2740f71f8daa796 Net-Appliance-Session-4.300001.tar.gz"
|