aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWu, Zhenyu <wuzhenyu@ustc.edu>2024-11-08 13:51:56 +0800
committerWu, Zhenyu <wuzhenyu@ustc.edu>2024-11-08 13:51:56 +0800
commite27290fd9bd0a90337c9b51943fae0f69419b5c2 (patch)
tree16fff50e3340f2c94ede16493f7e754d0ed57a3b /dev-util
parentapp-admin/pulumi-bin: add 3.138.0, drop 3.135.0 (diff)
downloadguru-e27290fd9bd0a90337c9b51943fae0f69419b5c2.tar.gz
guru-e27290fd9bd0a90337c9b51943fae0f69419b5c2.tar.bz2
guru-e27290fd9bd0a90337c9b51943fae0f69419b5c2.zip
dev-util/scc: add examples to IUSE
Signed-off-by: Wu, Zhenyu <wuzhenyu@ustc.edu>
Diffstat (limited to 'dev-util')
-rw-r--r--dev-util/scc/scc-3.4.0.ebuild11
1 files changed, 7 insertions, 4 deletions
diff --git a/dev-util/scc/scc-3.4.0.ebuild b/dev-util/scc/scc-3.4.0.ebuild
index 59c7d0cc9..32bcfe285 100644
--- a/dev-util/scc/scc-3.4.0.ebuild
+++ b/dev-util/scc/scc-3.4.0.ebuild
@@ -12,17 +12,20 @@ SRC_URI="https://github.com/boyter/scc/archive/refs/tags/v${PV}.tar.gz -> ${P}.t
LICENSE="MIT Unlicense"
SLOT="0"
KEYWORDS="~amd64"
+IUSE="examples"
-DEPEND=""
RDEPEND="${DEPEND}"
-BDEPEND=""
-DOCS="CONTRIBUTING.md LANGUAGES.md README.md examples"
+DOCS="CONTRIBUTING.md LANGUAGES.md README.md"
src_compile() {
- go build
+ ego build
}
src_install() {
dobin scc
einstalldocs
+ if use examples; then
+ insinto "/usr/share/doc/${PF}"
+ doins -r examples
+ fi
}