mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-07-09 23:23:00 -04:00
net-p2p/monero: improve current ebuild
- update HOMEPAGE - add USE=doc - make postinst elog cleaner Signed-off-by: Filip Kobierski <fkobi@pm.me>
This commit is contained in:
@@ -3,10 +3,12 @@
|
||||
|
||||
EAPI=8
|
||||
|
||||
inherit cmake systemd
|
||||
DOCS_BUILDER=doxygen
|
||||
|
||||
inherit cmake docs systemd
|
||||
|
||||
DESCRIPTION="The secure, private, untraceable cryptocurrency"
|
||||
HOMEPAGE="https://github.com/monero-project/monero"
|
||||
HOMEPAGE="https://www.getmonero.org"
|
||||
|
||||
if [[ ${PV} == 9999 ]]; then
|
||||
inherit git-r3
|
||||
@@ -61,10 +63,10 @@ src_configure() {
|
||||
local mycmakeargs=(
|
||||
# TODO: Update CMake to install built libraries (help wanted)
|
||||
-DBUILD_SHARED_LIBS=OFF
|
||||
-DBUILD_DOCUMENTATION=OFF # easier to do it manually
|
||||
-DMANUAL_SUBMODULES=ON
|
||||
-DUSE_CCACHE=OFF
|
||||
-DNO_AES=$(usex !cpu_flags_x86_aes)
|
||||
-DBUILD_DOCUMENTATION=OFF # we don't install it either way
|
||||
-DUSE_DEVICE_TREZOR=$(usex hw-wallet)
|
||||
-DUSE_READLINE=$(usex readline)
|
||||
)
|
||||
@@ -85,6 +87,8 @@ src_compile() {
|
||||
)
|
||||
|
||||
cmake_build ${targets[@]}
|
||||
|
||||
docs_compile
|
||||
}
|
||||
|
||||
src_install() {
|
||||
@@ -124,7 +128,8 @@ src_install() {
|
||||
|
||||
pkg_postinst() {
|
||||
if use daemon; then
|
||||
elog "Run 'monerod status' as any user to get sync status and other stats."
|
||||
elog "To get sync status and other stats run"
|
||||
elog " $ monerod status"
|
||||
elog
|
||||
elog "The Monero blockchain can take up a lot of space (250 GiB) and is stored"
|
||||
elog "in /var/lib/monero by default. You may want to enable pruning by adding"
|
||||
|
||||
Reference in New Issue
Block a user