aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'dev-util')
-rw-r--r--dev-util/scc/Manifest1
-rw-r--r--dev-util/scc/metadata.xml11
-rw-r--r--dev-util/scc/scc-3.4.0.ebuild28
3 files changed, 40 insertions, 0 deletions
diff --git a/dev-util/scc/Manifest b/dev-util/scc/Manifest
new file mode 100644
index 000000000..05af02099
--- /dev/null
+++ b/dev-util/scc/Manifest
@@ -0,0 +1 @@
+DIST scc-3.4.0.tar.gz 2580087 BLAKE2B 54f60d184a466a94a479b08a0f5d9c9bd416161b88bf7600a62f13ea003df1aa0f6449baf38239f7f8f3830884d5ed50d6c5f9c448feea6c60d5f227383b2678 SHA512 d6c2395eb87e21f14362910cbc18be54f517df65844a3534b6b9f3cdf1a28fcf710253e64b6b013937ff51d0e6d8641c70d05cdaf1ad6fbd4740f707313be2dc
diff --git a/dev-util/scc/metadata.xml b/dev-util/scc/metadata.xml
new file mode 100644
index 000000000..80005eee9
--- /dev/null
+++ b/dev-util/scc/metadata.xml
@@ -0,0 +1,11 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>wuzhenyu@ustc.edu</email>
+ <name>Wu, Zhenyu</name>
+ </maintainer>
+ <upstream>
+ <remote-id type="github">boyter/scc</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/dev-util/scc/scc-3.4.0.ebuild b/dev-util/scc/scc-3.4.0.ebuild
new file mode 100644
index 000000000..59c7d0cc9
--- /dev/null
+++ b/dev-util/scc/scc-3.4.0.ebuild
@@ -0,0 +1,28 @@
+# Copyright 2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit go-module
+
+DESCRIPTION="scc is a very fast accurate code counter"
+HOMEPAGE="https://github.com/boyter/scc/tree/master"
+SRC_URI="https://github.com/boyter/scc/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="MIT Unlicense"
+SLOT="0"
+KEYWORDS="~amd64"
+
+DEPEND=""
+RDEPEND="${DEPEND}"
+BDEPEND=""
+DOCS="CONTRIBUTING.md LANGUAGES.md README.md examples"
+
+src_compile() {
+ go build
+}
+
+src_install() {
+ dobin scc
+ einstalldocs
+}