lua51-luasocket: don't taint masterdir

This commit is contained in:
John 2025-01-02 14:06:29 +01:00 committed by John Zimmermann
parent 38b11f88ec
commit d2787299b0
1 changed files with 1 additions and 8 deletions

View File

@ -19,17 +19,10 @@ for _lua_version in $_lua_versions; do
makedepends+=" ${_lua_version/./}-devel"
done
#if [[ CROSS_BUILD ]]; then
# for _lua_version in $_lua_versions; do
# hostmakedepends+=" ${_lua_version/./}-devel"
# done
#fi
_rockname=${pkgname#lua51-}
_rocksrel=1
_package() {
luarocks config --lua-version="$1" variables.LUA_INCDIR "${XBPS_CROSS_BASE}/usr/include/lua$1"
luarocks --lua-version="$1" --tree="${PKGDESTDIR}/usr/" \
luarocks --lua-version="$1" --tree="${PKGDESTDIR}/usr/" LUA_INCDIR="${XBPS_CROSS_BASE}/usr/include/lua$1" \
make --deps-mode=none --no-manifest "rockspecs/${_rockname}-${version}-${_rocksrel}.rockspec"
}