diff options
author | V3n3RiX <venerix@koprulu.sector> | 2024-09-14 12:32:28 +0100 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2024-09-14 12:32:28 +0100 |
commit | e8aa09f74c8ba0c9e1c5ae3ab49f93b6a0820330 (patch) | |
tree | 14ad0b4141ec6704388a9130b87976ed75435984 /net-p2p/cpuminer-opt | |
parent | 6fcdccbe589d724b6c268b49f66414e40eb0d807 (diff) |
gentoo auto-resync : 14:09:2024 - 12:32:27
Diffstat (limited to 'net-p2p/cpuminer-opt')
-rw-r--r-- | net-p2p/cpuminer-opt/Manifest | 2 | ||||
-rw-r--r-- | net-p2p/cpuminer-opt/cpuminer-opt-24.5.ebuild | 48 |
2 files changed, 50 insertions, 0 deletions
diff --git a/net-p2p/cpuminer-opt/Manifest b/net-p2p/cpuminer-opt/Manifest index e13d742ad033..1fccebd400c9 100644 --- a/net-p2p/cpuminer-opt/Manifest +++ b/net-p2p/cpuminer-opt/Manifest @@ -1,5 +1,7 @@ AUX cpuminer-opt.service 690 BLAKE2B f95dff31fb5ff12da8b8ae282bba4c0fd15b5c0aa7e0f2b87f94a901a8e15ea5c81e6704fe5e81681383a3d82c41516174c4cae3a6dc59c9d2af618197f32189 SHA512 d175754246d61d08d615af52c3499d67e4d8c6a5166f07ea4fd646f3000ca7afed99f9b436785c50141a86b5faf017be4b2d1d5d2f9e3921a6171e4223be9b4c DIST cpuminer-opt-24.4.tar.gz 1787907 BLAKE2B 73f1da98f64ab7048f12d22f16ea2c94e2a0059a941d161d7c3e9721d13e7e018e0c98486f969270b1de580077ea8cd188f6b88e1f3a61b71c4f5626b43f7100 SHA512 e3648726ebd528d79c0d5f89fdf2affa1629fef0a28c7bccc6c3fdc76bac2c5ce8db9e36ccc0f1c6e3bf4f663cf15dd06d7130a6dbb205f3ab55ac675a6bac77 +DIST cpuminer-opt-24.5.tar.gz 1792866 BLAKE2B b9eba21088d967ecf85657f14873bb4b13214b4172071d22869d01d1b9f5acf9d7de56f20ed80ddce9c4cee1fbb59c65fab70893580e38978258b955a096eb80 SHA512 a29d9d479644511204534b680c0feaff6d232f24f70ceb77f5260f3aae35275a4823d0f75c6286013bbef5b30162e3807919e8c19a4c0ad932e1b091ce8c5428 EBUILD cpuminer-opt-24.4.ebuild 972 BLAKE2B 0bb88178a6f002c1a9035f00bdf43279fe0b103abd8c03af71cb306109188e857491a2ccceb6ddf5ebecd11d3a204e1496a8e4d735039bd4696e7cee2430a0a3 SHA512 1072c9a542517da85b90329b2aa97f816ceb41b2788afbdd81946ff22a2d1d66db4d0f6ecfaacdd04514a4ae66a768de456117c7097419e36317de0b6f61f2f7 +EBUILD cpuminer-opt-24.5.ebuild 972 BLAKE2B 0bb88178a6f002c1a9035f00bdf43279fe0b103abd8c03af71cb306109188e857491a2ccceb6ddf5ebecd11d3a204e1496a8e4d735039bd4696e7cee2430a0a3 SHA512 1072c9a542517da85b90329b2aa97f816ceb41b2788afbdd81946ff22a2d1d66db4d0f6ecfaacdd04514a4ae66a768de456117c7097419e36317de0b6f61f2f7 EBUILD cpuminer-opt-9999.ebuild 972 BLAKE2B 4bea6b716150282b920ceb4f563dc731a029a0856c81fe2d31c371cb9151c89f1cd45174738fc3c5c17cf4d04b3aac4e8c33b964a9ec76e32189a3f3febffc18 SHA512 d4eac5605963c1c02df9744811e50bc121fd9ee71149fd520f35282080f3bcfad6d4c83252aeac10a533781bebd70dfd7d02c81b3a54106f5033d83cc85a59db MISC metadata.xml 334 BLAKE2B f5b55d2366d5e2bc0fa04e0bbfd20fb8fb21993a352641b1f63b0d33075c97611fee985b6296cb1338a8b8b613f6835efcf8621cb8ca89d6598bd4a493673bb8 SHA512 a7b29760fbd65f440341fe862a157676a66caea1ac0d51b324e3cb79297a1293de9464ff1a460b9ee0b9399f3e637bf4ec8eb6022db957db792fe13282585ffa diff --git a/net-p2p/cpuminer-opt/cpuminer-opt-24.5.ebuild b/net-p2p/cpuminer-opt/cpuminer-opt-24.5.ebuild new file mode 100644 index 000000000000..2683d4bdc544 --- /dev/null +++ b/net-p2p/cpuminer-opt/cpuminer-opt-24.5.ebuild @@ -0,0 +1,48 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit autotools flag-o-matic systemd + +DESCRIPTION="Optimized multi algo CPU miner" +HOMEPAGE="https://github.com/JayDDee/cpuminer-opt" +IUSE="cpu_flags_x86_sse2 curl" +LICENSE="GPL-2" +SLOT="0" +REQUIRED_USE="cpu_flags_x86_sse2" +DEPEND=" + dev-libs/gmp:= + dev-libs/jansson:= + >=net-misc/curl-7.15[ssl] +" +RDEPEND="${DEPEND}" +if [[ ${PV} == "9999" ]] ; then + SRC_URI="" + EGIT_REPO_URI="https://github.com/JayDDee/${PN}.git" + inherit git-r3 +else + KEYWORDS="~amd64" + SRC_URI="https://github.com/JayDDee/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" +fi + +src_prepare() { + default + eautoreconf +} + +src_configure() { + append-ldflags -Wl,-z,noexecstack + econf --with-crypto --with-curl +} + +src_install() { + default + systemd_dounit "${FILESDIR}"/${PN}.service + insinto "/etc/${PN}" + newins config-template.json cpuminer-conf.json +} + +src_test() { + ./cpuminer --cputest || die +} |