mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-07-24 11:45:18 +03:00
34 lines
1.2 KiB
Text
34 lines
1.2 KiB
Text
# Automatically generated by apkbuild-cpan, template 3
|
|
# Contributor: Milan P. Stanić <mps@arvanta.net>
|
|
# Maintainer: Milan P. Stanić <mps@arvanta.net>
|
|
pkgname=perl-app-speedtest
|
|
#_pkgreal is used by apkbuild-cpan to find modules at MetaCpan
|
|
_pkgreal=App-SpeedTest
|
|
pkgver=0.27
|
|
pkgrel=0
|
|
pkgdesc="Command line interface to speedtest.net"
|
|
url="https://metacpan.org/release/App-SpeedTest/"
|
|
arch="noarch"
|
|
license="GPL-1.0-or-later OR Artistic-1.0-Perl"
|
|
depends="perl perl-html-tree perl-xml-simple perl-libwww perl-data-peek !speedtest-cli"
|
|
subpackages="$pkgname-doc"
|
|
source="https://cpan.metacpan.org/authors/id/H/HM/HMBRAND/App-SpeedTest-$pkgver.tgz"
|
|
builddir="$srcdir/$_pkgreal-$pkgver"
|
|
|
|
build() {
|
|
export CFLAGS=$(perl -MConfig -E 'say $Config{ccflags}')
|
|
PERL_MM_USE_DEFAULT=1 perl -I. Makefile.PL INSTALLDIRS=vendor
|
|
make
|
|
}
|
|
|
|
check() {
|
|
export CFLAGS=$(perl -MConfig -E 'say $Config{ccflags}')
|
|
make test
|
|
}
|
|
|
|
package() {
|
|
make DESTDIR="$pkgdir" install
|
|
find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete
|
|
}
|
|
|
|
sha512sums="62b008a6febd317034cfb6e81391351401e60964c763857aabe063f66a819ce85f830dd84d1cdaf3f89cf85e37b88a3b0a90bcf02463eed14ab22d109106ffaa App-SpeedTest-0.27.tgz"
|