Added support for distributions
This commit is contained in:
1 parent
3297bfbdf1
commit
bd01f2ab24
12 files changed
+269
No files matched your search
@@ -0,0 +1 @@
|
||||
DIST g15stats-3.0.2.tar.bz2 295556 BLAKE2B d2e96e9d715f7dde5ec6227f5fe6d6d110bfd80d33a831ec1dffda754c4c606fce1134502cb44de691303e2f4f0d7960f806ef37c82002de896a12c90dc0b3b0 SHA512 d0b0aaca5cb551a77ce09e63bf903764cafc060636d0d19baae245e9b397926f15d776aa08076dc71aafaf2c5aa064fea77f589d10fec908c8543217ff3a3d69
|
||||
@@ -0,0 +1,46 @@
|
||||
# Copyright 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://gitlab.com/menelkir/${PN}"
|
||||
SRC_URI="https://gitlab.com/menelkir/${PN}/-/archive/${PV}/${PN}-${PV}.tar.bz2"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~ppc ~ppc64 ~x86"
|
||||
IUSE=""
|
||||
|
||||
RDEPEND="app-misc/g15daemon
|
||||
dev-libs/libg15
|
||||
dev-libs/libg15render
|
||||
sys-libs/zlib
|
||||
gnome-base/libgtop"
|
||||
|
||||
DEPEND="${RDEPEND}"
|
||||
BDEPEND="virtual/pkgconfig"
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
export CPPFLAGS="${CFLAGS}"
|
||||
econf
|
||||
}
|
||||
|
||||
src_install() {
|
||||
default
|
||||
rm "${D}"/usr/share/doc/${PF}/{COPYING,NEWS} || die
|
||||
|
||||
newconfd "${S}/contrib/init/${PN}.confd" ${PN}
|
||||
newinitd "${S}/contrib/init/${PN}.initd" ${PN}
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
elog "Remember to set the interface you want monitored in"
|
||||
elog "/etc/conf.d/g15stats"
|
||||
}
|
||||
@@ -0,0 +1,48 @@
|
||||
# Copyright 2021 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
inherit autotools git-r3
|
||||
|
||||
DESCRIPTION="CPU, memory, swap, network stats for G15 Keyboard"
|
||||
HOMEPAGE="https://gitlab.com/menelkir/${PN}"
|
||||
EGIT_REPO_URI="https://gitlab.com/menelkir/${PN}.git"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
IUSE=""
|
||||
KEYWORDS=""
|
||||
|
||||
RDEPEND="app-misc/g15daemon
|
||||
dev-libs/libg15
|
||||
dev-libs/libg15render
|
||||
sys-libs/zlib
|
||||
gnome-base/libgtop"
|
||||
|
||||
DEPEND="${RDEPEND}"
|
||||
BDEPEND="virtual/pkgconfig"
|
||||
|
||||
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 "${S}/contrib/init/${PN}.confd" ${PN}
|
||||
newinitd "${S}/contrib/init/${PN}.initd" ${PN}
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
elog "Remember to set the interface you want monitored in"
|
||||
elog "/etc/conf.d/g15stats"
|
||||
}
|
||||
@@ -0,0 +1,14 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer type="person">
|
||||
<email>robbat2@gentoo.org</email>
|
||||
</maintainer>
|
||||
<maintainer type="person">
|
||||
<email>polynomial-c@gentoo.org</email>
|
||||
<name>Lars Wendler</name>
|
||||
</maintainer>
|
||||
<upstream>
|
||||
<remote-id type="sourceforge">g15daemon</remote-id>
|
||||
</upstream>
|
||||
</pkgmetadata>
|
||||
Reference in new issue
Block a user