mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-24 04:59:14 -07:00
net-p2p/cpuminer-opt: drop 25.2
Signed-off-by: Craig Andrews <candrews@gentoo.org>
This commit is contained in:
@@ -1,2 +1 @@
|
||||
DIST cpuminer-opt-25.2.tar.gz 1779832 BLAKE2B aaa3b34ce7258679e8aba80dfdd14d6d934b822377189c5be37472b929891d4af0447d8ec3c04bed9ed928e18cd7ad2c200c6a3106c1440d58f45f3c2b4a1f72 SHA512 dbffebf472bd0869f89ad299fb10a6c1b9d499383af933f1412eba63c7d80bcb5fac8f0bbe83204346838aba6d2b2064fa719600e79c1da3aaac02a0c44d90d1
|
||||
DIST cpuminer-opt-25.3.tar.gz 1779278 BLAKE2B 0c6222692c3b342b104b54c538f376789c7097f09219372437c10e5a4e0986d40c502bb3682bf10cbf693398e8be4fe9082da1ffc191064cf3cd3f7460deed72 SHA512 4768c2925e5fbcf37008fe8a7f3345a7816534132dde54e9b4fba0430aff06ca1f88c9606cf413556f71b604a15c184628f51e6b2228cc3ed861843dee993128
|
||||
|
||||
@@ -1,48 +0,0 @@
|
||||
# Copyright 1999-2025 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
|
||||
}
|
||||
Reference in New Issue
Block a user