mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2026-05-04 12:01:41 +02:00
testing/perl-statistics-descriptive: fix url fix license
This commit is contained in:
parent
bfd0f036a8
commit
d2a1ffdaa3
@ -4,34 +4,34 @@
|
||||
pkgname=perl-statistics-descriptive
|
||||
_pkgreal=Statistics-Descriptive
|
||||
pkgver=3.0702
|
||||
pkgrel=0
|
||||
pkgrel=1
|
||||
pkgdesc="Module of basic descriptive statistical functions."
|
||||
url="http://search.cpan.org/dist/Statistics-Descriptive/"
|
||||
url="https://metacpan.org/release/Statistics-Descriptive"
|
||||
arch="noarch"
|
||||
license="GPL PerlArtistic"
|
||||
license="GPL-1.0-or-later OR Artistic-1.0-Perl"
|
||||
cpandepends="perl-list-moreutils perl-module-build perl-test-pod perl-test-pod-coverage"
|
||||
cpanmakedepends=""
|
||||
depends="$cpandepends"
|
||||
makedepends="perl-dev $cpanmakedepends"
|
||||
makedepends="perl-dev"
|
||||
subpackages="$pkgname-doc"
|
||||
source="http://search.cpan.org/CPAN/authors/id/S/SH/SHLOMIF/$_pkgreal-$pkgver.tar.gz"
|
||||
|
||||
_builddir="$srcdir/$_pkgreal-$pkgver"
|
||||
builddir="$srcdir/$_pkgreal-$pkgver"
|
||||
|
||||
prepare() {
|
||||
cd "$_builddir"
|
||||
perl Build.PL installdirs=vendor || return 1
|
||||
perl Build.PL installdirs=vendor
|
||||
}
|
||||
|
||||
build() {
|
||||
cd "$_builddir"
|
||||
export CFLAGS=`perl -MConfig -E 'say $Config{ccflags}'`
|
||||
./Build && ./Build test
|
||||
export CFLAGS=$(perl -MConfig -E 'say $Config{ccflags}')
|
||||
./Build
|
||||
}
|
||||
|
||||
check() {
|
||||
./Build test
|
||||
}
|
||||
|
||||
package() {
|
||||
cd "$_builddir"
|
||||
./Build install destdir="$pkgdir" || return 1
|
||||
./Build install destdir="$pkgdir"
|
||||
find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete
|
||||
}
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user