mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2026-05-04 20:06:43 +02:00
testing/perl-mojo-reactor-ioasync: new aport
https://metacpan.org/release/Mojo-Reactor-IOAsync/ IO::Async backend for Mojo::Reactor
This commit is contained in:
parent
009cc0f979
commit
bbd9fdf4d2
37
testing/perl-mojo-reactor-ioasync/APKBUILD
Normal file
37
testing/perl-mojo-reactor-ioasync/APKBUILD
Normal file
@ -0,0 +1,37 @@
|
||||
# Automatically generated by apkbuild-cpan, template 4
|
||||
# Contributor: Celeste <cielesti@protonmail.com>
|
||||
# Maintainer: Celeste <cielesti@protonmail.com>
|
||||
pkgname=perl-mojo-reactor-ioasync
|
||||
#_pkgreal is used by apkbuild-cpan to find modules at MetaCpan
|
||||
_pkgreal=Mojo-Reactor-IOAsync
|
||||
pkgver=1.002
|
||||
pkgrel=0
|
||||
pkgdesc="IO::Async backend for Mojo::Reactor"
|
||||
url="https://metacpan.org/release/Mojo-Reactor-IOAsync/"
|
||||
arch="noarch"
|
||||
license="Artistic-2.0"
|
||||
depends="perl perl-io-async perl-mojolicious"
|
||||
makedepends="perl-module-build-tiny"
|
||||
subpackages="$pkgname-doc"
|
||||
source="https://cpan.metacpan.org/authors/id/D/DB/DBOOK/Mojo-Reactor-IOAsync-$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="
|
||||
9a51b4b18b6b7a1a62a4d6340dd07bec970065d43e17d2bd800395b96ef1859a4d59198c9641ffb8b378625fbe65aa250a02feca790e4f0daf8faf21299fdc23 Mojo-Reactor-IOAsync-1.002.tar.gz
|
||||
"
|
||||
Loading…
x
Reference in New Issue
Block a user