aboutsummaryrefslogtreecommitdiffstats
path: root/www-misc/skein/skein-0.1.1-r1.ebuild
blob: bddcbb8169c68413f011a1d9936795f624f484f0 (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
# Copyright 2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=7

DESCRIPTION="secure cgit hosting with slowcgi(8)"
HOMEPAGE="https://git.oriole.systems/skein"
SRC_URI="https://git.oriole.systems/skein/snapshot/${P}.tar.gz"

RESTRICT="mirror"

LICENSE="ISC"
SLOT="0"
KEYWORDS="amd64 x86"
IUSE=""

RDEPEND="www-misc/slowcgi"

src_compile() {
	emake LDFLAGS="-static"
}

src_install() {
	emake PREFIX=/usr DESTDIR="${D}" install

	newinitd "${FILESDIR}"/skein-infra.initd skein-infra
}