lua51-luasocket: don't taint masterdir
This commit is contained in:
parent
38b11f88ec
commit
d2787299b0
|
@ -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"
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue