dev-lang/fennel: fix installation to LUA_LIB_DIR

Signed-off-by: Maciej Barć <xgqt@riseup.net>
This commit is contained in:
Maciej Barć
2021-04-16 22:15:38 +02:00
parent d61ecb8fb3
commit 922ff6bc4c
2 changed files with 12 additions and 4 deletions

View File

@@ -31,11 +31,15 @@ pkg_setup() {
}
src_compile() {
emake LUA_VERSION="$(lua_get_version)" PREFIX="${D}/usr"
emake LUA_VERSION="$(lua_get_version)" \
LUA_LIB_DIR="${D}/$(lua_get_lmod_dir)" \
PREFIX="${D}/usr"
}
src_install() {
emake LUA_VERSION="$(lua_get_version)" PREFIX="${D}/usr" install
emake LUA_VERSION="$(lua_get_version)" \
LUA_LIB_DIR="${D}/$(lua_get_lmod_dir)" \
PREFIX="${D}/usr" install
doman "${PN}.1"
dodoc *.md
}

View File

@@ -31,11 +31,15 @@ pkg_setup() {
}
src_compile() {
emake LUA_VERSION="$(lua_get_version)" PREFIX="${D}/usr"
emake LUA_VERSION="$(lua_get_version)" \
LUA_LIB_DIR="${D}/$(lua_get_lmod_dir)" \
PREFIX="${D}/usr"
}
src_install() {
emake LUA_VERSION="$(lua_get_version)" PREFIX="${D}/usr" install
emake LUA_VERSION="$(lua_get_version)" \
LUA_LIB_DIR="${D}/$(lua_get_lmod_dir)" \
PREFIX="${D}/usr" install
doman "${PN}.1"
dodoc *.md
}