You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
50 lines
978 B
50 lines
978 B
4 years ago
|
# Copyright 1999-2021 Gentoo Authors
|
||
13 years ago
|
# Distributed under the terms of the GNU General Public License v2
|
||
|
|
||
4 years ago
|
EAPI=7
|
||
|
|
||
|
inherit autotools
|
||
13 years ago
|
|
||
|
DESCRIPTION="CPU, memory, swap, network stats for G15 Keyboard"
|
||
7 years ago
|
HOMEPAGE="https://sourceforge.net/projects/g15daemon/"
|
||
13 years ago
|
SRC_URI="mirror://sourceforge/g15daemon/${P}.tar.bz2"
|
||
|
|
||
|
LICENSE="GPL-2"
|
||
|
SLOT="0"
|
||
|
KEYWORDS="~amd64 ~x86"
|
||
|
|
||
|
RDEPEND=">=app-misc/g15daemon-1.9.0
|
||
|
dev-libs/libg15
|
||
|
dev-libs/libg15render
|
||
|
sys-libs/zlib
|
||
|
gnome-base/libgtop"
|
||
|
|
||
4 years ago
|
DEPEND="${RDEPEND}"
|
||
|
BDEPEND="virtual/pkgconfig"
|
||
|
|
||
|
PATCHES=( "${FILESDIR}/${P}-docdir.patch" )
|
||
13 years ago
|
|
||
|
src_prepare() {
|
||
4 years ago
|
default
|
||
|
mv configure.{in,ac} || die
|
||
|
eautoreconf
|
||
13 years ago
|
}
|
||
|
|
||
|
src_configure() {
|
||
4 years ago
|
export CPPFLAGS="${CFLAGS}"
|
||
13 years ago
|
econf
|
||
|
}
|
||
|
|
||
|
src_install() {
|
||
4 years ago
|
default
|
||
|
rm "${D}"/usr/share/doc/${PF}/{COPYING,NEWS} || die
|
||
13 years ago
|
|
||
|
newconfd "${FILESDIR}/${PN}-1.9.7.confd" ${PN}
|
||
4 years ago
|
newinitd "${FILESDIR}/${PN}-1.9.7.initd-r1" ${PN}
|
||
13 years ago
|
}
|
||
|
|
||
|
pkg_postinst() {
|
||
|
elog "Remember to set the interface you want monitored in"
|
||
|
elog "/etc/conf.d/g15stats"
|
||
|
}
|