mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-08-26 08:51:25 +02:00
49 lines
1.3 KiB
Plaintext
49 lines
1.3 KiB
Plaintext
# Automatically generated by apkbuild-cpan, template 2
|
|
# Contributor: Nick Andrew <nick@nick-andrew.net>
|
|
# Maintainer: Nick Andrew <nick@nick-andrew.net>
|
|
pkgname=perl-test-timer
|
|
_pkgreal=Test-Timer
|
|
pkgver=2.09
|
|
pkgrel=0
|
|
pkgdesc="test module to test/assert response times"
|
|
url="http://search.cpan.org/dist/Test-Timer/"
|
|
arch="noarch"
|
|
license="Artistic-2"
|
|
cpandepends="perl-error"
|
|
cpanmakedepends="perl-module-build"
|
|
cpancheckdepends="perl-test-fatal perl-test-simple"
|
|
depends="$cpandepends"
|
|
makedepends="perl-dev $cpanmakedepends"
|
|
checkdepends="$cpancheckdepends"
|
|
subpackages="$pkgname-doc"
|
|
source="http://search.cpan.org/CPAN/authors/id/J/JO/JONASBN/$_pkgreal-$pkgver.tar.gz"
|
|
builddir="$srcdir/$_pkgreal-$pkgver"
|
|
|
|
prepare() {
|
|
default_prepare
|
|
|
|
cd "$builddir"
|
|
export CFLAGS=$(perl -MConfig -E 'say $Config{ccflags}')
|
|
perl Build.PL installdirs=vendor
|
|
}
|
|
|
|
build() {
|
|
cd "$builddir"
|
|
export CFLAGS=$(perl -MConfig -E 'say $Config{ccflags}')
|
|
./Build
|
|
}
|
|
|
|
check() {
|
|
cd "$builddir"
|
|
./Build test
|
|
}
|
|
|
|
package() {
|
|
cd "$builddir"
|
|
./Build install destdir="$pkgdir"
|
|
find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete
|
|
}
|
|
|
|
|
|
sha512sums="e40696088bf5943347e5f8c78c1829609bd21ffabc34acfc3a050034de7b3d010c58c80c5a1d15b25af915f2d042a2695cacf5dfb5693a0d7db9ee32af4553a7 Test-Timer-2.09.tar.gz"
|