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-rx
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-rx')
-rw-r--r--net-p2p/xmr-stak-rx/xmr-stak-rx-1.0.4.ebuild8
-rw-r--r--net-p2p/xmr-stak-rx/xmr-stak-rx-9999.ebuild8
2 files changed, 8 insertions, 8 deletions
diff --git a/net-p2p/xmr-stak-rx/xmr-stak-rx-1.0.4.ebuild b/net-p2p/xmr-stak-rx/xmr-stak-rx-1.0.4.ebuild
index 5bd13426b524..11f242f611ce 100644
--- a/net-p2p/xmr-stak-rx/xmr-stak-rx-1.0.4.ebuild
+++ b/net-p2p/xmr-stak-rx/xmr-stak-rx-1.0.4.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"
@@ -30,7 +30,7 @@ DEPEND="cuda? ( dev-util/nvidia-cuda-toolkit )
RDEPEND="${DEPEND}"
src_prepare() {
- cmake-utils_src_prepare
+ cmake_src_prepare
}
src_configure() {
@@ -42,11 +42,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}.service ${PN}.service
doinitd "${FILESDIR}"/${PN}
dodir /etc/xmr-stak-rx
diff --git a/net-p2p/xmr-stak-rx/xmr-stak-rx-9999.ebuild b/net-p2p/xmr-stak-rx/xmr-stak-rx-9999.ebuild
index 5bd13426b524..11f242f611ce 100644
--- a/net-p2p/xmr-stak-rx/xmr-stak-rx-9999.ebuild
+++ b/net-p2p/xmr-stak-rx/xmr-stak-rx-9999.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"
@@ -30,7 +30,7 @@ DEPEND="cuda? ( dev-util/nvidia-cuda-toolkit )
RDEPEND="${DEPEND}"
src_prepare() {
- cmake-utils_src_prepare
+ cmake_src_prepare
}
src_configure() {
@@ -42,11 +42,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}.service ${PN}.service
doinitd "${FILESDIR}"/${PN}
dodir /etc/xmr-stak-rx