mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2026-03-27 16:32:15 +01:00
26 lines
916 B
Plaintext
26 lines
916 B
Plaintext
# Contributor: Michael Pirogov <vbnet.ru@gmail.com>
|
|
# Maintainer: Michael Pirogov <vbnet.ru@gmail.com>
|
|
pkgname=lua-resty-core
|
|
pkgver=0.1.30
|
|
pkgrel=0
|
|
pkgdesc="New FFI-based API for lua-nginx-module"
|
|
url="https://github.com/openresty/lua-resty-core"
|
|
# luajit
|
|
arch="noarch !riscv64"
|
|
license="BSD-2-Clause"
|
|
depends="luajit lua-resty-lrucache"
|
|
source="https://github.com/openresty/lua-resty-core/archive/v$pkgver/lua-resty-core-$pkgver.tar.gz"
|
|
options="!check" # FIXME: tests require OpenResty and additional dependencies
|
|
|
|
package() {
|
|
make install DESTDIR="$pkgdir" LUA_LIB_DIR="/usr/share/lua/common"
|
|
|
|
echo 'rock_manifest = {}' > rock_manifest
|
|
install -D -m 644 rock_manifest \
|
|
"$pkgdir"/usr/lib/luarocks/rocks-common/$pkgname/$pkgver-1
|
|
}
|
|
|
|
sha512sums="
|
|
e3951e71600b16732b3d1fc0e9c9497e9e73e739628ca06171e0274ebe880e3ce77a7992a98e911e33fbd336bc723c45e198357046308d5043e64e3003ccb26f lua-resty-core-0.1.30.tar.gz
|
|
"
|