From 616e8997185d01c5c3f0bd2899afa39d1127c44b Mon Sep 17 00:00:00 2001 From: PA4WDH Date: Wed, 4 Sep 2024 10:36:53 +0200 Subject: Add ebuild for version 0.6 --- gentoo/Manifest | 2 ++ gentoo/cputemp2maxfreq-0.6.ebuild | 40 +++++++++++++++++++++++++++++++++++++++ 2 files changed, 42 insertions(+) create mode 100644 gentoo/cputemp2maxfreq-0.6.ebuild diff --git a/gentoo/Manifest b/gentoo/Manifest index cafb926..4801d7c 100644 --- a/gentoo/Manifest +++ b/gentoo/Manifest @@ -4,7 +4,9 @@ DIST cputemp2maxfreq-0.2.tar.gz 8860 BLAKE2B df852d62988b7c6a46e227eb8e0ec5c885b DIST cputemp2maxfreq-0.3.tar.gz 61704 BLAKE2B 6aa8d91f2f7bd016121eb5721ad314b7958217530d2c49463260d72d40448f4ac936539efbe93e29c08480b4e99b1b3f1448335624f64e895a554be6a1e40426 SHA512 40c936b4c1ec2a30c9ecd1636344b8a74ac37273c6b9ea8f5cdc18ea66d275bc2e0da7261cb754ee4e428e54a25f58e1cddef5f1a4f5b6fb06864adad365ee3b DIST cputemp2maxfreq-0.4.tar.gz 62478 BLAKE2B 65009d7a0b3176769a96b477799edeb62521ff63aee3b64bf828b1b1cf5340482d53706277aba9d3a26dd6eb45c803f4955f002ec68b85fac34beb8216ce1014 SHA512 62de6109bbdbeab39ccb271dd95ae0b3181002dd734392382380c1731e37abe130c225381059f508b52d855242a8900fefdb32b1aa747e1e3127e7038eca5d40 DIST cputemp2maxfreq-0.5.tar.gz 64376 BLAKE2B f9b27136fed24eecf0968b7391bdf33a041281f517628eeb5636534ef333036e839ebafdfbf11f18073241d5fc8988b46dffb3c264a12954d66482c84132e9c2 SHA512 4b31e9f3449938f9c5dd4cb833b5cb26bc79d66cccacbc89f6b6e3b0ce58c54dd9e901191e1be0bb27d445f735aae7c2bd1e2e719aa6b3e0671271b6cb77c7c7 +DIST cputemp2maxfreq-0.6.tar.gz 83622 BLAKE2B ecc23f98010be7404eecc613422ecdee1f01e154d9adf2dd15a2176d7dc44a9009d3de730568287614798914ea21b4bf72a0a8d6ce5d4797887115b6ee5ea643 SHA512 21ed06beab8759a158a872a459efaa2cc76ecd0ea1b772786e423a7ab0fd3c657dfb6fc1151f8f532c38685b9d98548b8d317bcb1286e4f5ccd22e8ec3228134 EBUILD cputemp2maxfreq-0.2.ebuild 900 BLAKE2B 9895b48ca99dc01002e1e3c211951bb7ab9b33cfdab4ab24f318ce79f28985f482f7c81111c0a17d6465b9b37b3a7e6ed049ba6255a72995b4203543040783ab SHA512 63b815138db3ebf0f21c06f2d5820ea238bb743c3d12aa61ebd2b60d3b31b5fd06aaf1c83343646899c21feeb9fe30fd2adad8ff912c420043ce7fa228aefaf2 EBUILD cputemp2maxfreq-0.3.ebuild 900 BLAKE2B 1f673baa771379fcab3f7ffcd41aa95da9fe42005f1adec511931ee4da260b566247c68215311f16063919628467f64adc268867e4b6fa561baf6c89364ec696 SHA512 735ad4dffdcc2ec0eddc6a6cca5181e126e0c168066ffd396dd454a90d66127db539381bc4b44570863a1d8e22f28046534156b257953bd6f885419944bec6fb EBUILD cputemp2maxfreq-0.4.ebuild 900 BLAKE2B cda83da7f328f30a482f0e28367a54f52be7a865660414ce975a543cba59090497c5a549c7745834c28a4ffe33f43d6d462f26118cce16ad4d8bfa3eb0ab0f42 SHA512 ace4c98d4993c03ec65c07b3862cb057d60e8fdef2a04fc925fcff6eb2bd6d96b1732ce165f52675a81c9424aef70428656127d20701cab49319303c0b2c38b5 EBUILD cputemp2maxfreq-0.5.ebuild 900 BLAKE2B 6163afc1fa039616363866d4a89a1f47bf76d4ac65d6fe443e0a9c16ed816b760442a6577f84a9c806e6880fafb288a18fa2ebe2e59d6f98ccc22dbb74f75f2a SHA512 b68fbc4a1d3f163d5f61112d5cb2e9a52d86d51bab19905882924653cbdce2bdcae33f2d262d9966d3c6d8072a166f47cfb99a48826318969b4b3a45c6e21d24 +EBUILD cputemp2maxfreq-0.6.ebuild 915 BLAKE2B bf6f97f11f60db08c189e6e059d553c8f6b06528705fc4b3544ba63d066a83c028dff8197b95538862a651fb6a901695edbe05367b0cf08aae8eabde4ba5cc20 SHA512 ce1d5478f25b9f51bcf7041226d3ad4c230394abe6c66a6fd5dcf66d8c07ec01356007181e68dd6d2c00ddd879129506c5eeb435d0283d8390f5e55dc0dd7216 diff --git a/gentoo/cputemp2maxfreq-0.6.ebuild b/gentoo/cputemp2maxfreq-0.6.ebuild new file mode 100644 index 0000000..d87f352 --- /dev/null +++ b/gentoo/cputemp2maxfreq-0.6.ebuild @@ -0,0 +1,40 @@ +# Copyright 2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DESCRIPTION="Daemon to scale scale_max_freq when CPU temperature rises" +HOMEPAGE="https://code.pa4wdh.nl.eu.org/tools/cputemp2maxfreq/about" +GIT_COMMIT="1303d8b0c6ab477032bde5c9c7e7502dde6acada" +SRC_URI="https://code.pa4wdh.nl.eu.org/tools/cputemp2maxfreq/snapshot/cputemp2maxfreq-$GIT_COMMIT.tar.gz -> ${P}.tar.gz" + +LICENSE="GPL-3" +SLOT="0" +KEYWORDS="amd64" + +DEPEND="" +RDEPEND="${DEPEND}" +BDEPEND="" + +src_unpack() +{ + unpack "${P}.tar.gz" + mv "cputemp2maxfreq-$GIT_COMMIT" "${P}" +} + +src_prepare() +{ + eapply_user + + ./generate_version_h.sh "${PV}" "${GIT_COMMIT:0:7}" "master" > version.h + mkdir .git + touch -d "1 minute ago" .git/index +} + +src_install() +{ + dosbin ${PN} + doman ${PN}.8 + newinitd "${FILESDIR}/cputemp2maxfreq.init" cputemp2maxfreq + newconfd "${FILESDIR}/cputemp2maxfreq.conf" cputemp2maxfreq +} -- cgit v1.2.3