# Automatically generated by apkbuild-cpan, template 1 # Contributor: Natanael Copa # Maintainer: Natanael Copa pkgname=perl-net-openssh _pkgreal=Net-OpenSSH pkgver=0.70 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="f37eaebeddf9d0218f94eb1913c9d728 Net-OpenSSH-0.70.tar.gz" sha256sums="3fcb36a5a2fc296c1d0def54f3201cecffe7d81157ef5fa2bac9868875f63b95 Net-OpenSSH-0.70.tar.gz" sha512sums="ce2e74fa68e79a1180c3b29ad32d1d75ff1223e0721a9c91b7bc29ab0dbe3a0ffea490223dcaaa2c3c0eaa43a859af572b1777ad36eea80fe240319af8f358e5 Net-OpenSSH-0.70.tar.gz"