mirror of
https://github.com/void-linux/void-packages.git
synced 2025-06-05 06:33:50 +02:00
lua51-luasocket: don't taint masterdir
This commit is contained in:
parent
38b11f88ec
commit
d2787299b0
1 changed files with 1 additions and 8 deletions
|
@ -19,17 +19,10 @@ for _lua_version in $_lua_versions; do
|
||||||
makedepends+=" ${_lua_version/./}-devel"
|
makedepends+=" ${_lua_version/./}-devel"
|
||||||
done
|
done
|
||||||
|
|
||||||
#if [[ CROSS_BUILD ]]; then
|
|
||||||
# for _lua_version in $_lua_versions; do
|
|
||||||
# hostmakedepends+=" ${_lua_version/./}-devel"
|
|
||||||
# done
|
|
||||||
#fi
|
|
||||||
|
|
||||||
_rockname=${pkgname#lua51-}
|
_rockname=${pkgname#lua51-}
|
||||||
_rocksrel=1
|
_rocksrel=1
|
||||||
_package() {
|
_package() {
|
||||||
luarocks config --lua-version="$1" variables.LUA_INCDIR "${XBPS_CROSS_BASE}/usr/include/lua$1"
|
luarocks --lua-version="$1" --tree="${PKGDESTDIR}/usr/" LUA_INCDIR="${XBPS_CROSS_BASE}/usr/include/lua$1" \
|
||||||
luarocks --lua-version="$1" --tree="${PKGDESTDIR}/usr/" \
|
|
||||||
make --deps-mode=none --no-manifest "rockspecs/${_rockname}-${version}-${_rocksrel}.rockspec"
|
make --deps-mode=none --no-manifest "rockspecs/${_rockname}-${version}-${_rocksrel}.rockspec"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue