summaryrefslogtreecommitdiff
path: root/dev-go/protobuf-go/protobuf-go-1.30.0-r1.ebuild
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2025-04-16 11:30:05 +0100
committerV3n3RiX <venerix@koprulu.sector>2025-04-16 11:30:05 +0100
commit5fdd0e7ac439a969307a4df260753adbf22fd3cf (patch)
treed840fd0489c495defef34aafb240636a7adc9f5c /dev-go/protobuf-go/protobuf-go-1.30.0-r1.ebuild
parenta5a1fb7d8aad53e4621138982a546ed53eabe528 (diff)
dev-go/protobuf-go : import from Gentoo, conflict with our dev-go/go-protobuf
Diffstat (limited to 'dev-go/protobuf-go/protobuf-go-1.30.0-r1.ebuild')
-rw-r--r--dev-go/protobuf-go/protobuf-go-1.30.0-r1.ebuild25
1 files changed, 25 insertions, 0 deletions
diff --git a/dev-go/protobuf-go/protobuf-go-1.30.0-r1.ebuild b/dev-go/protobuf-go/protobuf-go-1.30.0-r1.ebuild
new file mode 100644
index 00000000..4a38a596
--- /dev/null
+++ b/dev-go/protobuf-go/protobuf-go-1.30.0-r1.ebuild
@@ -0,0 +1,25 @@
+# Copyright 2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+inherit go-module
+
+DESCRIPTION="Go support for Google's protocol buffers"
+HOMEPAGE="http://protobuf.dev"
+SRC_URI="https://github.com/protocolbuffers/protobuf-go/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+SRC_URI+=" https://dev.gentoo.org/~williamh/dist/${P}-deps.tar.xz"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~amd64"
+
+DEPEND="!dev-go/go-protobuf"
+RDEPEND="dev-libs/protobuf"
+
+src_compile() {
+ ego build ./cmd/protoc-gen-go
+}
+
+src_install() {
+dobin protoc-gen-go
+}