mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2026-01-08 18:22:30 +01:00
https://metacpan.org/release/Linux-Epoll/ O(1) multiplexing with Linux's epoll Needed by testing/perl-io-async-loop-epoll
37 lines
1.1 KiB
Plaintext
37 lines
1.1 KiB
Plaintext
# Automatically generated by apkbuild-cpan, template 3
|
|
# Contributor: Celeste <cielesti@protonmail.com>
|
|
# Maintainer: Celeste <cielesti@protonmail.com>
|
|
pkgname=perl-linux-epoll
|
|
#_pkgreal is used by apkbuild-cpan to find modules at MetaCpan
|
|
_pkgreal=Linux-Epoll
|
|
pkgver=0.018
|
|
pkgrel=0
|
|
pkgdesc="O(1) multiplexing with Linux's epoll"
|
|
url="https://metacpan.org/release/Linux-Epoll/"
|
|
arch="all"
|
|
license="GPL-1.0-or-later OR Artistic-1.0-Perl"
|
|
depends="perl"
|
|
makedepends="perl-dev perl-module-build"
|
|
subpackages="$pkgname-doc"
|
|
source="https://cpan.metacpan.org/authors/id/L/LE/LEONT/Linux-Epoll-$pkgver.tar.gz"
|
|
builddir="$srcdir/$_pkgreal-$pkgver"
|
|
|
|
build() {
|
|
export CFLAGS=$(perl -MConfig -E 'say $Config{ccflags}')
|
|
perl Build.PL --installdirs=vendor
|
|
./Build
|
|
}
|
|
|
|
check() {
|
|
./Build test
|
|
}
|
|
|
|
package() {
|
|
./Build install --destdir="$pkgdir"
|
|
find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete
|
|
}
|
|
|
|
sha512sums="
|
|
1fff16a863ec84044876f798acd2591085980540a40edc6d9975424e9edcab04d6dce98a34f3a7380c598f398973b096f5240f4dc90f90722dcf0bf50a65486d Linux-Epoll-0.018.tar.gz
|
|
"
|