aboutsummaryrefslogtreecommitdiffstats
path: root/testing/perl-statistics-descriptive/APKBUILD
blob: 80f14032fb15e0396481b1f01fe5ce81c4dca074 (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
# Automatically generated by apkbuild-cpan, template 1
# Contributor: Francesco Colista <fcolista@alpinelinux.org>
# Maintainer: Francesco Colista <fcolista@alpinelinux.org>
pkgname=perl-statistics-descriptive
_pkgreal=Statistics-Descriptive
pkgver=3.0612
pkgrel=0
pkgdesc="Module of basic descriptive statistical functions."
url="http://search.cpan.org/dist/Statistics-Descriptive/"
arch="noarch"
license="GPL PerlArtistic"
cpandepends="perl-list-moreutils perl-module-build perl-test-pod perl-test-pod-coverage"
cpanmakedepends=""
depends="$cpandepends"
makedepends="perl-dev $cpanmakedepends"
subpackages="$pkgname-doc"
source="http://search.cpan.org/CPAN/authors/id/S/SH/SHLOMIF/$_pkgreal-$pkgver.tar.gz"

_builddir="$srcdir/$_pkgreal-$pkgver"

prepare() {
	cd "$_builddir"
	perl Build.PL installdirs=vendor || return 1
}

build() {
	cd "$_builddir"
		export CFLAGS=`perl -MConfig -E 'say $Config{ccflags}'`
	./Build && ./Build test
}

package() {
	cd "$_builddir"
	./Build install destdir="$pkgdir" || return 1
	find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete
}

md5sums="e38cfbc1e3962d099b62a14a57a175f1  Statistics-Descriptive-3.0612.tar.gz"
sha256sums="772413148e5e00efb32f277c4254aa78b9112490a896208dcd0025813afdbf7a  Statistics-Descriptive-3.0612.tar.gz"
sha512sums="1157c0259a376f44363861c515ef56a25cf5a496d67faea546e225751d39c3529f9aa7d1bd021e2e399d5e884e7f5372df67249fe4f5607a6bdd806235503d46  Statistics-Descriptive-3.0612.tar.gz"