aboutsummaryrefslogtreecommitdiffstats
path: root/main/perl-net-openssh/APKBUILD
blob: c7f3090877415444e355cdb5767245a0ce238818 (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.73
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="896884d917f3fe349400bf1ccc38fa77  Net-OpenSSH-0.73.tar.gz"
sha256sums="f45a54b3c6015d4dc44cbff9f9be57bc9d54dfb104fb38bcf3c4eb04789582d9  Net-OpenSSH-0.73.tar.gz"
sha512sums="754770b04d31b7b556ea547bbf8a6b1db36c81c32d40a561767d8f1f9305d18a3779d0592bf8f53e43e70e635a45ea4c3f1f4c7c79a9b259c7b786c441f3f888  Net-OpenSSH-0.73.tar.gz"