blob: d0bc876540b902589fb9bc19b6a4920caafe5a4d (
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
36
37
38
39
40
41
42
43
44
45
46
47
48
|
# Copyright 2020-2023 LiGurOs Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit cmake systemd
DESCRIPTION="A lightweight continuous integration server"
HOMEPAGE="https://laminar.ohwg.net https://github.com/ohwgiles/laminar"
LICENSE="GPL-3"
SLOT="0"
KEYWORDS="~amd64 ~x86"
SRC_URI="https://github.com/ohwgiles/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
RESTRICT="network-sandbox"
IUSE=""
DEPEND=""
RDEPEND="
${DEPEND}
acct-group/laminar
acct-user/laminar
>=dev-libs/capnproto-0.7.0
>=dev-libs/rapidjson-1.1.0
>=dev-cpp/websocketpp-0.7.0
>=dev-libs/boost-1.62
dev-db/sqlite:3"
src_prepare() {
eapply ${FILESDIR}/laminar-manpage.patch
cmake_src_prepare
}
src_configure() {
local mycmakeargs=(
-DCMAKE_INSTALL_PREFIX="${EPREFIX}/usr"
-DCMAKE_BUILD_TYPE=Release
)
cmake_src_configure
}
src_install() {
newinitd "${FILESDIR}"/laminar.initd laminar
newconfd "${FILESDIR}"/laminar.confd laminar
doman ${S}/etc/laminarc.1
doman ${S}/etc/laminard.8
cmake_src_install
}
|