Replies: 1 comment 16 replies
-
local git_ref = '6c973f55a3130fe62342e4ab06e992eac6ee3a80'
local modrev = 'scm'
local specrev = '1'
local repo_url = 'https://github.com/xmake-io/xmake'
rockspec_format = '3.0'
package = 'xmake'
version = modrev ..'-'.. specrev
description = {
summary = 'A cross-platform build utility based on Lua',
detailed = '',
labels = { 'c', 'linux', 'c-plus-plus', 'package-manager', 'visual-studio', 'cmake', 'build', 'lua', 'objective-c', 'makefile', 'build-tool', 'wdk', 'xmake', 'tbox', 'cross-toolchains' } ,
homepage = 'https://luarocks.org/modules/waruqi/xmake',
license = 'GPL-3.0'
}
dependencies = { 'lua >= 5.1' }
test_dependencies = { }
source = {
url = repo_url .. '/archive/' .. git_ref .. '.zip',
dir = 'xmake-' .. '6c973f55a3130fe62342e4ab06e992eac6ee3a80',
}
if modrev == 'scm' or modrev == 'dev' then
source = {
url = repo_url:gsub('https', 'git')
}
end
build = {
type = 'command',
build_command = "./configure --prefix=$(PREFIX) && make",
install_command = "make install"
} |
Beta Was this translation helpful? Give feedback.
16 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Perhaps we can publish xmake to luarocks?
Beta Was this translation helpful? Give feedback.
All reactions