blob: 99e3f78a719befbd57ba660330269ae4075e4c67 (
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
|
return {
url = "https://git.symlinx.net/pkgit",
targets = {
default = {
build = function()
return os.execute("make")
end,
install = function()
return os.execute("make install PREFIX="..prefix)
end,
uninstall = function()
return os.execute("make uninstall PREFIX="..prefix)
end,
},
quiet = {
build = function()
local output = io.popen("make"):read("*a")
end,
install = function()
local output = io.popen("make install PREFIX="..prefix):read("*a")
end,
uninstall = function()
local output = io.popen("make uninstall PREFIX="..prefix):read("*a")
end,
},
}
}
|