aboutsummaryrefslogtreecommitdiffstats
path: root/testing/perl-statistics-descriptive/APKBUILD
blob: 3eab49edbd6bb4cb7e77cb63221ac359bf9f0266 (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 <francesco.colista@gmail.com>
# Maintainer: Francesco Colista <francesco.colista@gmail.com>
pkgname=perl-statistics-descriptive
_pkgreal=Statistics-Descriptive
pkgver=3.0607
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"
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="e947f0066d726eef7d5ac91439e42697  Statistics-Descriptive-3.0607.tar.gz"
sha256sums="9b2d9313e23ae3a35dfd2169918b9888d80370b08ad68eb61e921565b68a9a89  Statistics-Descriptive-3.0607.tar.gz"
sha512sums="6a0ec5e0d5b6a0c6566155b72ce89d024612a7eb1a5ad84ef1bafd89698bf78ca4edfce45c00e798179b6a3df83490d0d823fbcefb47f8e41d5c9e35866a84d1  Statistics-Descriptive-3.0607.tar.gz"