mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2026-05-04 20:06:43 +02:00
testing/perl-perlio-via-timeout: new aport
This commit is contained in:
parent
e700e950d0
commit
5144c8b8cb
32
testing/perl-perlio-via-timeout/APKBUILD
Normal file
32
testing/perl-perlio-via-timeout/APKBUILD
Normal file
@ -0,0 +1,32 @@
|
||||
# Contributor: Michael Pirogov <vbnet.ru@gmail.com>
|
||||
# Maintainer: Michael Pirogov <vbnet.ru@gmail.com>
|
||||
pkgname=perl-perlio-via-timeout
|
||||
_pkgreal=PerlIO-via-Timeout
|
||||
pkgver=0.32
|
||||
pkgrel=0
|
||||
pkgdesc="a PerlIO layer that adds read & write timeout to a handle"
|
||||
url="https://metacpan.org/release/PerlIO-via-Timeout/"
|
||||
arch="noarch"
|
||||
license="GPL-1.0-or-later OR Artistic-1.0-Perl"
|
||||
makedepends="perl-dev perl-test-tcp perl-module-build-tiny"
|
||||
subpackages="$pkgname-doc"
|
||||
source="https://cpan.metacpan.org/authors/id/D/DA/DAMS/PerlIO-via-Timeout-$pkgver.tar.gz"
|
||||
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="52200c0d19da7a19b9b328473b0e7b57a1a3102fd3ace947af8fef8f670aaebe37811daaa2e2b6cf2f6397855a4cfb2424af053322146a8acefd71e1bb30f681 PerlIO-via-Timeout-0.32.tar.gz"
|
||||
Loading…
x
Reference in New Issue
Block a user