# Automatically generated by apkbuild-cpan, template 1 # Contributor: Natanael Copa # Maintainer: Natanael Copa pkgname=perl-net-openssh _pkgreal=Net-OpenSSH pkgver=0.64 pkgrel=0 pkgdesc="Perl SSH client package implemented on top of OpenSSH" url="http://search.cpan.org/dist/Net-OpenSSH/" arch="noarch" license="GPL PerlArtistic" cpandepends="" cpanmakedepends=" " depends="$cpandepends" makedepends="perl-dev $cpanmakedepends" subpackages="$pkgname-doc" source="http://search.cpan.org/CPAN/authors/id/S/SA/SALVA/$_pkgreal-$pkgver.tar.gz" _builddir="$srcdir/$_pkgreal-$pkgver" prepare() { cd "$_builddir" export CFLAGS=`perl -MConfig -E 'say $Config{ccflags}'` PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor } build() { cd "$_builddir" export CFLAGS=`perl -MConfig -E 'say $Config{ccflags}'` make # make test is interactive } package() { cd "$_builddir" make DESTDIR="$pkgdir" install || return 1 find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete } md5sums="a6de211c74847c2791b94e08ab8c8600 Net-OpenSSH-0.64.tar.gz" sha256sums="d2ab0582bfb5a7c8b51808525ea6f1d75f9aa2981535a98411843e2a76b100ef Net-OpenSSH-0.64.tar.gz" sha512sums="40283ea19aab958de2cbee494e42a019a3df7a396ab5ca656888c62b49d78f78ef8933f52dff80c1421380a6a58b6869ecfab4f0d2c2129625ba205b2562c624 Net-OpenSSH-0.64.tar.gz"