summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam James <sam@gentoo.org>2021-05-28 17:56:45 +0200
committerDavid Seifert <soap@gentoo.org>2021-05-28 17:56:45 +0200
commit2dbd9130883eb6301d6ee1f3859d0e5d0f66ea46 (patch)
tree7fed41ebb131d10df6e052914818cce814077b29 /app-misc/blink1
parentnet-analyzer/telegraf: Version bump (v1.18.3) (diff)
downloadgentoo-2dbd9130883eb6301d6ee1f3859d0e5d0f66ea46.tar.gz
gentoo-2dbd9130883eb6301d6ee1f3859d0e5d0f66ea46.tar.bz2
gentoo-2dbd9130883eb6301d6ee1f3859d0e5d0f66ea46.zip
app-misc/blink1: fix docinto argument (avoid double 'prefix')
Signed-off-by: Sam James <sam@gentoo.org> Signed-off-by: David Seifert <soap@gentoo.org>
Diffstat (limited to 'app-misc/blink1')
-rw-r--r--app-misc/blink1/blink1-1.98-r1.ebuild (renamed from app-misc/blink1/blink1-1.98.ebuild)12
1 files changed, 10 insertions, 2 deletions
diff --git a/app-misc/blink1/blink1-1.98.ebuild b/app-misc/blink1/blink1-1.98-r1.ebuild
index 4e4ac4135a5e..5fc417e008a9 100644
--- a/app-misc/blink1/blink1-1.98.ebuild
+++ b/app-misc/blink1/blink1-1.98-r1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2020 Gentoo Authors
+# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=6
@@ -60,11 +60,13 @@ src_compile() {
emake OS=linux USBLIB_TYPE=HIDAPI blink1-tool
popd &>/dev/null
fi
+
if use mini-tool; then
pushd commandline/blink1-mini-tool &>/dev/null
emake OS=linux blink1-mini-tool
popd &>/dev/null
fi
+
if use server; then
pushd commandline &>/dev/null
emake OS=linux blink1-tiny-server
@@ -76,23 +78,29 @@ src_install() {
if use doc; then
dodoc docs/README.md
fi
+
if use tool; then
if use doc; then
dodoc docs/{blink1-tool.md,blink1-tool-tips.md,blink1-hid-commands.md,blink1-mk2-tricks.md}
fi
+
if use examples; then
- docinto /usr/share/doc/"${PF}"/examples
+ docinto examples
dodoc commandline/scripts/{README.md,blink1-*.sh}
fi
+
dobin commandline/blink1-tool
fi
+
if use mini-tool; then
dobin commandline/blink1-mini-tool/blink1-mini-tool
fi
+
if use server; then
if use doc; then
dodoc docs/{app-url-api.md,app-url-api-examples.md}
fi
+
dobin commandline/blink1-tiny-server
fi
}