26 lines
502 B
Lua
26 lines
502 B
Lua
repositories["pkgit"] = {
|
|
url = "https://git.symlinx.net/pkgit",
|
|
|
|
targets = {
|
|
default = {
|
|
build = function()
|
|
e,h,c = os.execute("make")
|
|
if c ~= 0 then
|
|
print("Compilation Error: ", c, type(c))
|
|
print("GIVEN UP")
|
|
return c
|
|
end
|
|
return 0
|
|
end,
|
|
install = function()
|
|
e,h,c = os.execute("make install PREFIX="..prefix)
|
|
return c or 0
|
|
end,
|
|
uninstall = function()
|
|
e,h,c = os.execute("make uninstall PREFIX="..prefix)
|
|
return c or 0
|
|
end,
|
|
}
|
|
}
|
|
}
|
|
|