| 1 | # Automatically generated by apkbuild-cpan, template 3 |
| 2 | # Maintainer: Natanael Copa <[email protected]> |
| 3 | pkgname=perl-net-openssh |
| 4 | #_pkgreal is used by apkbuild-cpan to find modules at MetaCpan |
| 5 | _pkgreal=Net-OpenSSH |
| 6 | pkgver=0.84 |
| 7 | pkgrel=1 |
| 8 | pkgdesc="Perl SSH client package implemented on top of OpenSSH" |
| 9 | options="!check" # make test is interactive |
| 10 | url="https://metacpan.org/release/Net-OpenSSH/" |
| 11 | arch="noarch" |
| 12 | license="GPL-1.0-or-later OR Artistic-1.0-Perl" |
| 13 | depends="perl" |
| 14 | subpackages="$pkgname-doc" |
| 15 | source="https://cpan.metacpan.org/authors/id/S/SA/SALVA/Net-OpenSSH-$pkgver.tar.gz" |
| 16 | builddir="$srcdir/$_pkgreal-$pkgver" |
| 17 | |
| 18 | build() { |
| 19 | export CFLAGS=$(perl -MConfig -E 'say $Config{ccflags}') |
| 20 | PERL_MM_USE_DEFAULT=1 perl -I. Makefile.PL INSTALLDIRS=vendor |
| 21 | make |
| 22 | } |
| 23 | |
| 24 | package() { |
| 25 | make DESTDIR="$pkgdir" install |
| 26 | find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete |
| 27 | } |
| 28 | |
| 29 | sha512sums=" |
| 30 | eae50ddc609654432c77080dbfd1dbfd76a7651a1a4e85c0a0f01547b329761a6676faabec931a3b4ff5c74bfa4f529cf649249ad57e73305e67b33da891a555 Net-OpenSSH-0.84.tar.gz |
| 31 | " |