summaryrefslogtreecommitdiff
blob: 3da2ea912f27a50dcd2f7bcff77fed6c3bfa707d (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
# Copyright 2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=8

inherit webapp

DESCRIPTION="graphite-web fork for standalone usage with carbonapi"
HOMEPAGE="https://github.com/grobian/carbonapi-web"
SRC_URI="https://github.com/grobian/${PN}/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz"

LICENSE="Apache-2.0"
KEYWORDS="~amd64"

DEPEND=""
RDEPEND="${DEPEND}"
BDEPEND=""

src_install() {
	webapp_src_preinst

	insinto "${MY_HTDOCSDIR}"
	doins -r webapp/content/*

	webapp_postinst_txt en "${FILESDIR}"/postinstall-en.txt

	webapp_src_install
}