aboutsummaryrefslogtreecommitdiff
path: root/moonplus-dev-1.rockspec
blob: 40db89b0f71b1ff9396fce142055ecef1a7ddb94 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
rockspec_format = "3.0"
package = "MoonPlus"
version = "dev-1"
source = {
	url = "git+https://github.com/pigpigyyy/MoonPlus"
}
description = {
	summary = "MoonPlus is a compiler for Moonscript written in C++.",
	detailed = [[
	MoonPlus is a compiler with features from Moonscript language 0.5.0 and implementing new features to make Moonscript more up to date. ]],
	homepage = "https://github.com/pigpigyyy/MoonPlus",
	maintainer = "Li Jin <dragon-fly@qq.com>",
	labels = {"moonscript","cpp","transpiler"},
	license = "MIT"
}
dependencies = {
	"lua >= 5.1",
}
build = {
	type = "cmake",
	variables = {
		LUA_INCDIR="$(LUA_INCDIR)",
		LUA="$(LUA)",
	},
	install = {
		lib = {
			"build.luarocks/moonp.so"
		},
		bin = {
			"build.luarocks/moonp"
		}
	}
}