blob: 29bb679316219ebc33b44ad4118607a91e70ff91 (
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
34
35
|
local home = os.getenv("HOME")
local prefix = home.."/pkgit"
install_directories = {
bin = prefix.."/bin",
include = prefix.."/include",
lib = prefix.."/lib",
src = prefix.."/src",
}
repositories = {
pkgit = { "https://git.symlinx.net/pkgit" },
beaker = {
"https://git.symlinx.net/pkgit",
dependencies = {}
build = function()
os.execute("make")
end,
pre_install = function() end
install = function()
os.execute("make install INSTALL_PREFIX="..prefix)
end,
post_install = function() end
},
}
build_systems = {
Makefile = {
build = function()
os.execute("make")
end,
install = function()
os.execute("make install")
end,
},
}
|