blob: 3acc564345eb04c3b117d0172f3f52d59e5ecefd (
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
|
# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
# DISCLAIMER:
# This ebuild does NOT follow the Gentoo QA Rules, instead it follows the upstream way to install and run the application
EAPI=7
DESCRIPTION="A go-based program that uploads data to a local or remote QueueMetrics"
HOMEPAGE="https://www.queuemetrics-live.com/uniloader.jsp"
LICENSE="all-rights-reserved"
SRC_URI="https://downloads.loway.ch/qm/${P}.tar.gz"
RESTRICT="mirror"
SLOT="0"
KEYWORDS="~amd64"
IUSE=""
RDEPEND="acct-group/queuemetrics
acct-user/queuemetrics"
src_install() {
dodir /opt/${PN}/bin
exeinto /opt/${PN}/bin
newexe bin/${PN}_amd64 ${PN}
keepdir /var/log/${PN}
fowners queuemetrics:queuemetrics /var/log/${PN}
fperms 0750 /var/log/${PN}
newconfd "${FILESDIR}/${PN}.confd" ${PN}
newinitd "${FILESDIR}/${PN}.initd" ${PN}
}
|