aboutsummaryrefslogtreecommitdiff
path: root/config/init.lua
blob: 110ef3f018397eeeb2e5c7f5533bfd660c4aad70 (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
local prefix = "/home/dacc/pkgit"
local install_directories = {
	bin			= prefix.."/bin",
	include	= prefix.."/include",
	lib			= prefix.."/lib",
	src			= prefix.."/src",
}

local 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 = funciton()
			os.execute("make install INSTALL_PREFIX="..prefix)
		end,
		post_install = function() end
	},
}

local build_systems = {
	Makefile = {
		build = function()
			os.execute("make")
		end,
		install = function()
			os.execute("make install")
		end,
	},
}