mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2026-02-05 07:52:26 +01:00
23 lines
899 B
Plaintext
23 lines
899 B
Plaintext
# Contributor: Michael Pirogov <vbnet.ru@gmail.com>
|
|
# Maintainer: Michael Pirogov <vbnet.ru@gmail.com>
|
|
pkgname=lua-resty-core
|
|
pkgver=0.1.21
|
|
pkgrel=0
|
|
pkgdesc="New FFI-based API for lua-nginx-module"
|
|
url="https://github.com/openresty/lua-resty-core"
|
|
arch="noarch !riscv64"
|
|
license="BSD-2-Clause"
|
|
depends="luajit lua-resty-lrucache"
|
|
source="https://github.com/openresty/lua-resty-core/archive/v$pkgver/$pkgname-$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="e34475fe3966493d010dd0e6e9d0073e6cd6e700ccf34048b6ac26af52206333b12500c755f29904fd5d792556d26d19f0ddfd3b61cd9f5e0dc608bef17051a5 lua-resty-core-0.1.21.tar.gz"
|