# Automatically generated by apkbuild-cpan, template 1 # Contributor: Francesco Colista # Maintainer: Francesco Colista setglobal pkgname = 'perl-statistics-descriptive' setglobal _pkgreal = 'Statistics-Descriptive' setglobal pkgver = '3.0612' setglobal pkgrel = '0' setglobal pkgdesc = '"Module of basic descriptive statistical functions.'" setglobal url = '"http://search.cpan.org/dist/Statistics-Descriptive/'" setglobal arch = '"noarch'" setglobal license = '"GPL PerlArtistic'" setglobal cpandepends = '"perl-list-moreutils perl-module-build perl-test-pod perl-test-pod-coverage'" setglobal cpanmakedepends = ''"" setglobal depends = $cpandepends setglobal makedepends = ""perl-dev $cpanmakedepends"" setglobal subpackages = ""$pkgname-doc"" setglobal source = ""http://search.cpan.org/CPAN/authors/id/S/SH/SHLOMIF/$_pkgreal-$pkgver.tar.gz"" setglobal _builddir = ""$srcdir/$_pkgreal-$pkgver"" proc prepare { cd $_builddir perl Build.PL installdirs=vendor || return 1 } proc build { cd $_builddir export CFLAGS=$[perl -MConfig -E 'say $Config{ccflags}] ./Build && ./Build test } proc package { cd $_builddir ./Build install destdir="$pkgdir" || return 1 find $pkgdir '(' -name perllocal.pod -o -name .packlist ')' -delete } setglobal md5sums = '"e38cfbc1e3962d099b62a14a57a175f1 Statistics-Descriptive-3.0612.tar.gz'" setglobal sha256sums = '"772413148e5e00efb32f277c4254aa78b9112490a896208dcd0025813afdbf7a Statistics-Descriptive-3.0612.tar.gz'" setglobal sha512sums = '"1157c0259a376f44363861c515ef56a25cf5a496d67faea546e225751d39c3529f9aa7d1bd021e2e399d5e884e7f5372df67249fe4f5607a6bdd806235503d46 Statistics-Descriptive-3.0612.tar.gz'"