blob: e20f4573a433d53105688dfb2542d1f3ccbeb09e (
plain) (
blame)
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
|
# Copyright 2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
inherit git-r3
DESCRIPTION="secure cgit hosting with slowcgi(8)"
HOMEPAGE="https://git.oriole.systems/skein.git"
EGIT_REPO_URI="https://git.oriole.systems/skein.git"
EGIT_COMMIT="${PV}"
LICENSE="ISC"
SLOT="0"
KEYWORDS="amd64 x86"
IUSE=""
RDEPEND="
www-misc/slowcgi
>=www-apps/cgit-1.2.3-r3[static]
"
src_compile() {
emake LDFLAGS="-static"
}
src_install() {
emake PREFIX=/usr DESTDIR="${D}" install
newinitd "${FILESDIR}"/cgit-chroot.initd cgit-chroot
}
|