mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-06-06 18:04:54 +02:00
38 lines
1.1 KiB
Text
38 lines
1.1 KiB
Text
# Automatically generated by apkbuild-cpan, template 4
|
|
# Maintainer: Celeste <cielesti@protonmail.com>
|
|
maintainer="Celeste <cielesti@protonmail.com>"
|
|
pkgname=perl-io-async-loop-epoll
|
|
pkgver=0.23
|
|
pkgrel=0
|
|
#_pkgreal is used by apkbuild-cpan to find modules at MetaCpan
|
|
_pkgreal=IO-Async-Loop-Epoll
|
|
pkgdesc="Use IO::Async with Linux::Epoll"
|
|
url="https://metacpan.org/release/IO-Async-Loop-Epoll/"
|
|
arch="noarch"
|
|
license="GPL-1.0-or-later OR Artistic-1.0-Perl"
|
|
depends="perl perl-io-async perl-linux-epoll perl-struct-dumb"
|
|
makedepends="perl-module-build"
|
|
checkdepends="perl-io-async-looptests"
|
|
subpackages="$pkgname-doc"
|
|
source="https://cpan.metacpan.org/authors/id/P/PE/PEVANS/IO-Async-Loop-Epoll-$pkgver.tar.gz"
|
|
builddir="$srcdir/$_pkgreal-$pkgver"
|
|
|
|
build() {
|
|
export CFLAGS=$(perl -MConfig -E 'say $Config{ccflags}')
|
|
perl Build.PL \
|
|
--installdirs=vendor \
|
|
--create_packlist=0
|
|
./Build
|
|
}
|
|
|
|
check() {
|
|
./Build test
|
|
}
|
|
|
|
package() {
|
|
./Build install --destdir="$pkgdir"
|
|
}
|
|
|
|
sha512sums="
|
|
383b467cb7c698c5187181f6519f6584c603f62701a82ef57500867df885ee2f3e35956a5c4142630e841bcda4ff8fafe64d51dbc77dffe103f10be6fcf7fba2 IO-Async-Loop-Epoll-0.23.tar.gz
|
|
"
|