diff options
author | Natanael Copa <ncopa@alpinelinux.org> | 2015-04-23 10:55:38 +0000 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2015-04-23 10:55:38 +0000 |
commit | 847f83598258eab002b7c77d3af9dafef0cd1f96 (patch) | |
tree | 2a16adb4014a5c208662428e5fda24c53f55b721 /main/perl-net-openssh/APKBUILD | |
parent | 2b97a1233e2bb4b91ab02cceb46763fcfdf5f73f (diff) | |
download | aports-847f83598258eab002b7c77d3af9dafef0cd1f96.tar.bz2 aports-847f83598258eab002b7c77d3af9dafef0cd1f96.tar.xz |
main/perl-net-openssh: new aport
needed by smokeping
Diffstat (limited to 'main/perl-net-openssh/APKBUILD')
-rw-r--r-- | main/perl-net-openssh/APKBUILD | 42 |
1 files changed, 42 insertions, 0 deletions
diff --git a/main/perl-net-openssh/APKBUILD b/main/perl-net-openssh/APKBUILD new file mode 100644 index 0000000000..215f2e6bdd --- /dev/null +++ b/main/perl-net-openssh/APKBUILD @@ -0,0 +1,42 @@ +# Automatically generated by apkbuild-cpan, template 1 +# Contributor: Natanael Copa <ncopa@alpinelinux.org> +# Maintainer: Natanael Copa <ncopa@alpinelinux.org> +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" |