diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
commit | 4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch) | |
tree | ba5f07bf3f9d22d82e54a462313f5d244036c768 /app-misc/g15stats/g15stats-1.9.7.ebuild |
reinit the tree, so we can have metadata
Diffstat (limited to 'app-misc/g15stats/g15stats-1.9.7.ebuild')
-rw-r--r-- | app-misc/g15stats/g15stats-1.9.7.ebuild | 48 |
1 files changed, 48 insertions, 0 deletions
diff --git a/app-misc/g15stats/g15stats-1.9.7.ebuild b/app-misc/g15stats/g15stats-1.9.7.ebuild new file mode 100644 index 000000000000..5e31c2a4a3e1 --- /dev/null +++ b/app-misc/g15stats/g15stats-1.9.7.ebuild @@ -0,0 +1,48 @@ +# Copyright 1999-2012 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=4 + +DESCRIPTION="CPU, memory, swap, network stats for G15 Keyboard" +HOMEPAGE="http://g15daemon.sourceforge.net/" +SRC_URI="mirror://sourceforge/g15daemon/${P}.tar.bz2" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="" + +RDEPEND=">=app-misc/g15daemon-1.9.0 + dev-libs/libg15 + dev-libs/libg15render + sys-libs/zlib + gnome-base/libgtop" + +DEPEND="${RDEPEND} + virtual/pkgconfig" + +src_prepare() { + sh autogen.sh +} + +src_configure() { + export CPPFLAGS=$CFLAGS + econf +} + +src_compile() { + emake +} + +src_install() { + emake DESTDIR="${D}" install || die "make install failed" + rm "$D"/usr/share/doc/${P}/{COPYING,NEWS} + + newconfd "${FILESDIR}/${PN}-1.9.7.confd" ${PN} + newinitd "${FILESDIR}/${PN}-1.9.7.initd" ${PN} +} + +pkg_postinst() { + elog "Remember to set the interface you want monitored in" + elog "/etc/conf.d/g15stats" +} |