sys-apps/ryzen-stabilizator: treeclean

Signed-off-by: Viorel <ceamac.paragon@gmail.com>
This commit is contained in:
2022-03-12 13:42:47 +02:00
parent 26968bfbe4
commit 48cbbcaa2c
4 changed files with 0 additions and 87 deletions

View File

@@ -1,3 +0,0 @@
DIST github.com-BurntSushi-toml-3012a1dbe2e4bd1391d42b32f0577cb7bbc7f005.tar.gz 42084 BLAKE2B 09e4447d28ddb0824547d9aaa84c3c16acdc309faaf44434119e1851c40b3d3f67d0cb745691bf47a560084c93a9ce492c715833405061e5fc6114cd674b37a5 SHA512 bd14b162d4d33f62dac4abfe3bec908ea45dce88b9a0e5dd173e9f0576e29344c5136bc48e5c6602add41ddb71523e831c53107b47c4b36832c97e7b0a3d18f9
DIST github.com-klauspost-cpuid-5a626f7029c910cc8329dae5405ee4f65034bce5.tar.gz 279424 BLAKE2B 8d9024fb05c5b8b4b4830d830a00a0121ca2688c21aa4d1895134f3be2c06ed87206c1873bcdc6eab47a72a4aff0fade3d3c8bd5e5f3bb96c42c14f7db7b7fc5 SHA512 af623c8356915b53e7d8221aa30dc634adfd72ce4ffdc6e86cf44e475163900404081e59a362aee16b00f5906121cb09f3ea745af9900bf1be78ef5c8087058b
DIST ryzen-stabilizator-20191202.tar.gz 9650 BLAKE2B 4de781750b449839546e5306c10c9c9078dcb6fb8c5497108bf78e67c6654f7e83b60cf6b9a5ab259c1bf33499d61a9011333fdb533bb74347c8711b0901f737 SHA512 f5690d24f52b309c2ba3b70aedde5db51705051d780014ec5db81ebbad0473f102321378d9d26c5c7f73e90c3fa6fb814dc3e19dbf3656ad93d29671bb81a046

View File

@@ -1,21 +0,0 @@
#!/sbin/openrc-run
# Copyright 1999-2016 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
command="/usr/bin/ryzen-stabilizator"
depend() {
need localmount
after modules-load
}
start() {
ebegin "Initializing ryzen"
${command} --config=/etc/ryzen-stabilizator/settings.toml >/dev/null 2>&1
eend $?
}
stop() {
# Nothing to stop
return 0;
}

View File

@@ -1,8 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="person">
<email>ceamac.paragon@gmail.com</email>
<description>Primary maintainer</description>
</maintainer>
</pkgmetadata>

View File

@@ -1,55 +0,0 @@
# Copyright 2019 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
DESCRIPTION="Small utility to control a few parameters on Ryzen"
HOMEPAGE="https://github.com/qrwteyrutiyoup/ryzen-stabilizator"
LICENSE="Apache-2.0 MIT"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE=""
EGO_PN="${HOMEPAGE#*//}"
EGIT_COMMIT="90a2f7adc94baa484cbf2590455fb1f4a25126d8"
EGO_VENDOR=(
"github.com/BurntSushi/toml 3012a1dbe2e4bd1391d42b32f0577cb7bbc7f005"
"github.com/klauspost/cpuid 5a626f7029c910cc8329dae5405ee4f65034bce5"
)
inherit golang-vcs-snapshot
SRC_URI="https://${EGO_PN}/archive/${EGIT_COMMIT}.tar.gz -> ${P}.tar.gz
${EGO_VENDOR_URI}"
src_compile() {
GOPATH="${S}" \
go install -v -work -x ${EGO_BUILD_FLAGS} \
"${EGO_PN}" || die
}
src_install() {
(
mkdir -p "etc/modules-load.d"
echo msr > "etc/modules-load.d/ryzen-stabilizator.conf"
insinto /etc/modules-load.d
doins etc/modules-load.d/ryzen-stabilizator.conf
)
(
insinto /etc/ryzen-stabilizator
sed 's/^[^#]/#/' "${S}/src/${EGO_PN}/contrib/settings.toml.sample" > settings.toml
doins settings.toml
)
(
insinto /lib/systemd/system
doins "${S}/src/${EGO_PN}/contrib/systemd/"{ryzen-stabilizator@boot.service,ryzen-stabilizator@resume.service,ryzen-stabilizator.service,ryzen-stabilizator.target}
)
doinitd "${FILESDIR}/ryzen-stabilizator"
dodoc "${S}/src/${EGO_PN}/README.md"
dobin "${S}/bin/ryzen-stabilizator"
}