aboutsummaryrefslogtreecommitdiff
path: root/bldit.lua
blob: bd39eb83da3e2f14721341e90689e1b819b01a37 (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
bldit_version   = "0.1.0"
package_version = "0.1.0"

global_dependencies = {
  luajit = {
    url = "https://luajit.org/git/luajit.git",
    version = "v2.1",
    target = "default",
  },
}

targets = {
	default = {
		build = function(name)
			os.execute("make")
		end,
		install = function(prefix)
			os.execute("make install")
		end,
	},
	quiet = {
		build = function(name)
			local output = io.popen("make"):read("*a")
		end,
		install = function(prefix)
			local output = io.popen("make install"):read("*a")
		end,
	},
}