mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-07-13 03:09:51 +03:00
testing/raku-cro-tls: new aport
https://github.com/croservices/cro-tls TLS support for Cro
This commit is contained in:
parent
1d8954546c
commit
0c1f8e7b80
1 changed files with 42 additions and 0 deletions
42
testing/raku-cro-tls/APKBUILD
Normal file
42
testing/raku-cro-tls/APKBUILD
Normal file
|
@ -0,0 +1,42 @@
|
||||||
|
# Maintainer: Celeste <cielesti@protonmail.com>
|
||||||
|
maintainer="Celeste <cielesti@protonmail.com>"
|
||||||
|
pkgname=raku-cro-tls
|
||||||
|
pkgver=0.8.10
|
||||||
|
pkgrel=0
|
||||||
|
pkgdesc="TLS support for Cro"
|
||||||
|
url="https://github.com/croservices/cro-tls"
|
||||||
|
arch="all !armhf !armv7 !x86" # raku-io-socket-async-ssl
|
||||||
|
license="Artistic-2.0"
|
||||||
|
depends="
|
||||||
|
rakudo
|
||||||
|
raku-cro-core
|
||||||
|
raku-io-socket-async-ssl
|
||||||
|
"
|
||||||
|
makedepends="moarvm-dev rakudo-dev"
|
||||||
|
checkdepends="perl-utils"
|
||||||
|
subpackages="$pkgname-doc"
|
||||||
|
source="$pkgname-$pkgver.tar.gz::https://github.com/croservices/cro-tls/archive/refs/tags/release-$pkgver.tar.gz"
|
||||||
|
builddir="$srcdir/cro-tls-release-$pkgver"
|
||||||
|
options="!archcheck" # Precompiled arch dependent files included (quiet noarch warning)
|
||||||
|
|
||||||
|
build() {
|
||||||
|
RAKUDO_RERESOLVE_DEPENDENCIES=0 \
|
||||||
|
/usr/share/rakudo/tools/install-dist.raku \
|
||||||
|
--to=output --for=vendor
|
||||||
|
}
|
||||||
|
|
||||||
|
check() {
|
||||||
|
prove -e 'raku -Ilib' --ext .rakutest
|
||||||
|
}
|
||||||
|
|
||||||
|
package() {
|
||||||
|
mkdir -p "$pkgdir"/usr/share/rakudo
|
||||||
|
cp -RT output "$pkgdir"/usr/share/rakudo/vendor
|
||||||
|
|
||||||
|
install -Dvm644 META6.json README.md \
|
||||||
|
-t "$pkgdir"/usr/share/doc/$pkgname/
|
||||||
|
}
|
||||||
|
|
||||||
|
sha512sums="
|
||||||
|
809b9650c2f5b2836e5fc10a030f058a1fd961316fee56d725d49bd8726f3f0a57c00307a4e4e372442469d3ae6825922b169c25318cdd1b883355f859f727d3 raku-cro-tls-0.8.10.tar.gz
|
||||||
|
"
|
Loading…
Add table
Add a link
Reference in a new issue