summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Sturmlechner <asturm@gentoo.org>2020-01-03 21:01:46 +0100
committerAndreas Sturmlechner <asturm@gentoo.org>2020-01-04 10:37:24 +0100
commit31e21551da418ddc7a177c7c869070e9acca817c (patch)
tree0ad1bfcfc7068989bcb92c3f4499f5a84cfd8c95 /net-p2p/xmr-stak/xmr-stak-2.10.8.ebuild
parent*/*: Switch games proj to cmake.eclass (diff)
downloadgentoo-31e21551da418ddc7a177c7c869070e9acca817c.tar.gz
gentoo-31e21551da418ddc7a177c7c869070e9acca817c.tar.bz2
gentoo-31e21551da418ddc7a177c7c869070e9acca817c.zip
*/*: Switch candrews' packages to cmake.eclass
Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
Diffstat (limited to 'net-p2p/xmr-stak/xmr-stak-2.10.8.ebuild')
-rw-r--r--net-p2p/xmr-stak/xmr-stak-2.10.8.ebuild8
1 files changed, 4 insertions, 4 deletions
diff --git a/net-p2p/xmr-stak/xmr-stak-2.10.8.ebuild b/net-p2p/xmr-stak/xmr-stak-2.10.8.ebuild
index 07ffbf9c1036..8876dd4fc1d9 100644
--- a/net-p2p/xmr-stak/xmr-stak-2.10.8.ebuild
+++ b/net-p2p/xmr-stak/xmr-stak-2.10.8.ebuild
@@ -3,7 +3,7 @@
EAPI=7
-inherit cmake-utils systemd
+inherit cmake systemd
if [[ ${PV} == "9999" ]] ; then
EGIT_REPO_URI="https://github.com/fireice-uk/xmr-stak.git"
@@ -29,7 +29,7 @@ DEPEND="cuda? ( dev-util/nvidia-cuda-toolkit )
RDEPEND="${DEPEND}"
src_prepare() {
- cmake-utils_src_prepare
+ cmake_src_prepare
if ! use devfee; then
sed -i -e 's!fDevDonationLevel = .*;!fDevDonationLevel = 0.0;!' xmrstak/donate-level.hpp || die
fi
@@ -44,11 +44,11 @@ src_configure() {
-DOpenSSL_ENABLE=$(usex ssl)
-DLIBRARY_OUTPUT_PATH=$(get_libdir)
)
- cmake-utils_src_configure
+ cmake_src_configure
}
src_install() {
- cmake-utils_src_install
+ cmake_src_install
systemd_newunit "${FILESDIR}"/${PN}-2.3.0.service ${PN}.service
doinitd "${FILESDIR}"/${PN}
dodir /etc/xmr-stak