summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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
}