diff options
author | V3n3RiX <venerix@koprulu.sector> | 2024-08-23 14:56:14 +0100 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2024-08-23 14:56:14 +0100 |
commit | b818f6a820dceae80d6e3faac5fdf7be0c6fcbe2 (patch) | |
tree | ecc35732c51ff9d610d4a9e0cc77e940ef5ac9da /sys-power/powerstat | |
parent | 2bae4d8bcdc3862f8d7cf1963acc0a9036762d2d (diff) |
gentoo auto-resync : 23:08:2024 - 14:56:14
Diffstat (limited to 'sys-power/powerstat')
-rw-r--r-- | sys-power/powerstat/Manifest | 4 | ||||
-rw-r--r-- | sys-power/powerstat/powerstat-0.04.03.ebuild | 33 | ||||
-rw-r--r-- | sys-power/powerstat/powerstat-9999.ebuild | 13 |
3 files changed, 46 insertions, 4 deletions
diff --git a/sys-power/powerstat/Manifest b/sys-power/powerstat/Manifest index 7f280b8eed7f..acd2ef2ae4fb 100644 --- a/sys-power/powerstat/Manifest +++ b/sys-power/powerstat/Manifest @@ -1,4 +1,6 @@ DIST powerstat-0.02.27.tar.gz 62629 BLAKE2B d7fe4b517d9a4d91003c7a263ed77bba24457ce20639e420658c3735176952f3283e2bbc64ec597d88b6206e431c29f75ea9b133331a6652f021f667d9466ccc SHA512 3bbab9ed88000b277d75f94d9d3e180944d6c8619cf5e7e8b783c9d303fadde47fe9347e93ac7f54c52687afb456bc26c590712486f589602f93058cd144922f +DIST powerstat-0.04.03.tar.gz 63790 BLAKE2B d8cc04873ebdeafa642a3c2676f7f5e91b9573e067c6f23928c577c87c8e73532baa47052f0ba99910a828c1c398a7e79d51409b383ae961826c76a92699a38e SHA512 41655929d498720373a9dfc736d7a29987529dbb92643d2883da3cfda4935a4574893962651ce87e43929c070202086ba21317c034f346720c3d9683cf9523b7 EBUILD powerstat-0.02.27.ebuild 623 BLAKE2B 1bac35e7ee1d6cc1bc09a790367b789e6f36c64901c1cb7d31a0b8a65f90988f43cb644d7c5a71fae3671d7a017259641353b2e1aea8328a1ce42951f2ff6978 SHA512 e4fc461c3766dbb337a4cdded195bdf3418cd2d1b0c1065f9e0c886af6e233b005fa23983aa82e2ed05ab891779301958976af618865ebf5ea9f00b1bf706b08 -EBUILD powerstat-9999.ebuild 581 BLAKE2B ac6a10db8d99cf580e178b3d41fb8e945755017803304f0f53499697a494ccf4b28c24b3e1607d98c018b3c69d893ecc6ffd27c63f71b65bace6d15448c6bc69 SHA512 dfd27fc7fe702b73b41475eae2d21dbf8455039f03be18172ce79f02a3d4dc6b1d45be91d87a1e875179c2e6aee82d1b4a7b8983174db4f1aa09050ff3c6ea7e +EBUILD powerstat-0.04.03.ebuild 760 BLAKE2B 54b4cdc759f4bce02c958ab0966aeb605d52b0e3f676951fb4faf33988478d3540355b6af0afc4e235eb8c28f00d5085ee32a9d68cc733afb10b71a8ee52e9e3 SHA512 f02e4ee5ce28754c1969b47470c87d83fa6235a1c241c5601440e87354c4c73985eba312ddf167a00bc5c47c4598bf78e7e4e5a0d8a1037db26b8ad4a53a5ab5 +EBUILD powerstat-9999.ebuild 718 BLAKE2B 84ea99dc97f9c62a606c31583fd66c6313f03cd68930e1fd31bf16ece22d1a370c7a28d0a2c99eda2f8074aa013fd1cd0b410746a9505195f5619d194276458b SHA512 3c9184556beba50f0094fae9e64db3c658a986e542c3064c45564dfd08cf494ac18dbbeaf699003b6598d012a76e515d592aaf9aa59450bbf36c2136f950fbc2 MISC metadata.xml 889 BLAKE2B 0829f5e6e664ad6ad12b22a9c3c42ef72bbd4abc29221d88c954428eb3c768c80b5f3c65896cac6093e485f4d89d9891f25ce772b12f1239617e2e28db1dd3c2 SHA512 d7b814fb2ac9f2307f0988e877b1a7314f2b2763d87d073dddf0bab3ddc79fe8c095560c46ddf25adc92c5258460864e1b310e77f8410c4d88f0989e7948edd2 diff --git a/sys-power/powerstat/powerstat-0.04.03.ebuild b/sys-power/powerstat/powerstat-0.04.03.ebuild new file mode 100644 index 000000000000..82bd7c280e91 --- /dev/null +++ b/sys-power/powerstat/powerstat-0.04.03.ebuild @@ -0,0 +1,33 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit bash-completion-r1 toolchain-funcs + +DESCRIPTION="Laptop power measuring tool" +HOMEPAGE="https://launchpad.net/ubuntu/+source/powerstat https://github.com/ColinIanKing/powerstat" +SRC_URI="https://github.com/ColinIanKing/${PN}/archive/V${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="GPL-2+" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +src_prepare() { + default + + # Don't compress manpages, respect CFLAGS + sed -i -e '/install:/s/ powerstat.8.gz//' \ + -e '/cp powerstat.8/s/.gz//' \ + -e '/CFLAGS += -Wall/s| -O2||' \ + Makefile || die "sed failed" +} + +src_compile() { + emake CC="$(tc-getCC)" +} + +src_install() { + default + dobashcomp bash-completion/powerstat +} diff --git a/sys-power/powerstat/powerstat-9999.ebuild b/sys-power/powerstat/powerstat-9999.ebuild index 0f707208abf8..a4538d1cb047 100644 --- a/sys-power/powerstat/powerstat-9999.ebuild +++ b/sys-power/powerstat/powerstat-9999.ebuild @@ -3,11 +3,12 @@ EAPI=8 -inherit git-r3 toolchain-funcs +EGIT_REPO_URI="https://github.com/ColinIanKing/${PN}.git" + +inherit bash-completion-r1 git-r3 toolchain-funcs DESCRIPTION="Laptop power measuring tool" HOMEPAGE="https://launchpad.net/ubuntu/+source/powerstat https://github.com/ColinIanKing/powerstat" -EGIT_REPO_URI="https://github.com/ColinIanKing/${PN}.git" LICENSE="GPL-2+" SLOT="0" @@ -15,12 +16,18 @@ SLOT="0" src_prepare() { default - # Don't compress manpages + # Don't compress manpages, respect CFLAGS sed -i -e '/install:/s/ powerstat.8.gz//' \ -e '/cp powerstat.8/s/.gz//' \ + -e '/CFLAGS += -Wall/s| -O2||' \ Makefile || die "sed failed" } src_compile() { emake CC="$(tc-getCC)" } + +src_install() { + default + dobashcomp bash-completion/powerstat +} |