public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] repo/proj/guru:master commit in: dev-util/scc/
@ 2024-11-08 10:23 David Roman
  0 siblings, 0 replies; only message in thread
From: David Roman @ 2024-11-08 10:23 UTC (permalink / raw
  To: gentoo-commits

commit:     e27290fd9bd0a90337c9b51943fae0f69419b5c2
Author:     Wu, Zhenyu <wuzhenyu <AT> ustc <DOT> edu>
AuthorDate: Fri Nov  8 05:51:56 2024 +0000
Commit:     David Roman <davidroman96 <AT> gmail <DOT> com>
CommitDate: Fri Nov  8 05:51:56 2024 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=e27290fd

dev-util/scc: add examples to IUSE

Signed-off-by: Wu, Zhenyu <wuzhenyu <AT> ustc.edu>

 dev-util/scc/scc-3.4.0.ebuild | 11 +++++++----
 1 file 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
 }


^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2024-11-08 10:24 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-11-08 10:23 [gentoo-commits] repo/proj/guru:master commit in: dev-util/scc/ David Roman

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox