mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-07-19 17:25:17 +03:00
38 lines
1.1 KiB
Text
38 lines
1.1 KiB
Text
# Automatically generated by apkbuild-cpan, template 2
|
|
# Contributor: Timo Teräs <timo.teras@iki.fi>
|
|
# Maintainer: Timo Teräs <timo.teras@iki.fi>
|
|
pkgname=perl-data-float
|
|
_pkgreal=Data-Float
|
|
pkgver=0.013
|
|
pkgrel=1
|
|
pkgdesc="details of the floating point data type"
|
|
url="https://metacpan.org/release/Data-Float"
|
|
arch="noarch"
|
|
license="GPL-1.0-or-later OR Artistic-1.0-Perl"
|
|
makedepends="perl-dev perl-module-build"
|
|
subpackages="$pkgname-doc"
|
|
source="http://search.cpan.org/CPAN/authors/id/Z/ZE/ZEFRAM/$_pkgreal-$pkgver.tar.gz"
|
|
builddir="$srcdir/$_pkgreal-$pkgver"
|
|
|
|
prepare() {
|
|
default_prepare
|
|
|
|
export CFLAGS=$(perl -MConfig -E 'say $Config{ccflags}')
|
|
perl Build.PL installdirs=vendor
|
|
}
|
|
|
|
build() {
|
|
export CFLAGS=$(perl -MConfig -E 'say $Config{ccflags}')
|
|
./Build
|
|
}
|
|
|
|
package() {
|
|
./Build install destdir="$pkgdir"
|
|
find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete
|
|
}
|
|
|
|
check() {
|
|
./Build test
|
|
}
|
|
|
|
sha512sums="7e3be7843df30e581bd8937fde226ac6f24100206a376e1dbed2d4699c95d3f39a25cd1485f5871c46adba88d2fb1899efcd326f908797cdc985ec713cd9a90f Data-Float-0.013.tar.gz"
|