diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2021-03-27 06:06:27 +0000 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2021-03-27 06:06:27 +0000 |
commit | 8d5dbd847cbc704a6a06405856e94b461011afe3 (patch) | |
tree | 4d26462d027b14926335894749d2e01d982234d0 /app-misc/g15stats/g15stats-1.9.7-r2.ebuild | |
parent | 5bb9ff1ee56d2b5e75e01a7f066d8b0cec84ec02 (diff) |
gentoo resync : 27.03.2021
Diffstat (limited to 'app-misc/g15stats/g15stats-1.9.7-r2.ebuild')
-rw-r--r-- | app-misc/g15stats/g15stats-1.9.7-r2.ebuild | 49 |
1 files changed, 49 insertions, 0 deletions
diff --git a/app-misc/g15stats/g15stats-1.9.7-r2.ebuild b/app-misc/g15stats/g15stats-1.9.7-r2.ebuild new file mode 100644 index 000000000000..65cd673d4d1e --- /dev/null +++ b/app-misc/g15stats/g15stats-1.9.7-r2.ebuild @@ -0,0 +1,49 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit autotools + +DESCRIPTION="CPU, memory, swap, network stats for G15 Keyboard" +HOMEPAGE="https://sourceforge.net/projects/g15daemon/" +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" + +DEPEND="${RDEPEND}" +BDEPEND="virtual/pkgconfig" + +PATCHES=( "${FILESDIR}/${P}-docdir.patch" ) + +src_prepare() { + default + mv configure.{in,ac} || die + eautoreconf +} + +src_configure() { + export CPPFLAGS="${CFLAGS}" + econf +} + +src_install() { + default + rm "${D}"/usr/share/doc/${PF}/{COPYING,NEWS} || die + + newconfd "${FILESDIR}/${PN}-1.9.7.confd" ${PN} + newinitd "${FILESDIR}/${PN}-1.9.7.initd-r1" ${PN} +} + +pkg_postinst() { + elog "Remember to set the interface you want monitored in" + elog "/etc/conf.d/g15stats" +} |