aboutsummaryrefslogtreecommitdiffstats
path: root/main/perl-net-openssh/APKBUILD
blob: 215f2e6bdd68b3d1ca22afaa05d4b62afb0b8c48 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
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"