mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-07-09 23:23:00 -04:00
app-misc/xplr: add use flag doc
Signed-off-by: Luciano Degni <degni.public@gmail.com>
This commit is contained in:
@@ -153,6 +153,7 @@ LICENSE="
|
||||
"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="doc"
|
||||
|
||||
REQUIRED_USE="${LUA_REQUIRED_USE}"
|
||||
RDEPEND="
|
||||
@@ -171,7 +172,7 @@ src_configure() {
|
||||
src_prepare() {
|
||||
sed -i Cargo.toml -e 's/"vendored"\s*,//' || die
|
||||
# for dynamic linking with lua
|
||||
default
|
||||
default
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
@@ -179,8 +180,10 @@ src_compile() {
|
||||
}
|
||||
|
||||
src_install() {
|
||||
dodoc README.md LICENSE
|
||||
local DOCS=( docs/* )
|
||||
einstalldocs
|
||||
if use doc; then
|
||||
dodoc README.md LICENSE
|
||||
local DOCS=( docs/* )
|
||||
einstalldocs
|
||||
fi
|
||||
dobin target/release/xplr
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user