summaryrefslogtreecommitdiff
blob: 5b854a847cc27d4242366907675a411fd9a7882c (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
# 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"

src_install() {
	webapp_src_preinst

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

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

	webapp_src_install
}