dev-crystal/protodec - 0.1.5 (guru)

Search

Install

Install this version:

emerge -a =dev-crystal/protodec-0.1.5

If this version is masked, you can unmask it using the autounmask tool or standard emerge options:

autounmask =dev-crystal/protodec-0.1.5

Or alternatively:

emerge --autounmask-write -a =dev-crystal/protodec-0.1.5

Package Information

Description:
Command-line tool to encode and decode arbitrary protobuf data
Homepage:
https://github.com/iv-org/protodec
License:
GPL-3

Ebuild Details

Version EAPI Keywords Slot
0.1.5 8 ~amd64 0
View Raw Ebuild
# Copyright 2022-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=8

inherit shards

DESCRIPTION="Command-line tool to encode and decode arbitrary protobuf data"
HOMEPAGE="https://github.com/iv-org/protodec"
SRC_URI="https://github.com/iv-org/${PN}/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz"

LICENSE="GPL-3"
SLOT="0"
KEYWORDS="~amd64"

DEPEND="
	dev-libs/boehm-gc
	dev-libs/libevent:=
	dev-libs/libpcre2:=
"
RDEPEND="${DEPEND}"

src_prepare() {
	default

	sed -i src/protodec.cr \
		-e 's/\(CURRENT_BRANCH \) = .*/\1 = "master"/' \
		-e 's/\(CURRENT_COMMIT \) = .*/\1 = "gentoo"/' \
		-e "s/\(CURRENT_VERSION\) = .*/\1 = \"v${PV}\"/" || die
}

src_install() {
	dobin protodec
	shards_src_install
}

Inherited Eclasses

Dependencies

DEPEND

	dev-libs/boehm-gc
	dev-libs/libevent:=
	dev-libs/libpcre2:=

RDEPEND

	dev-libs/boehm-gc
	dev-libs/libevent:=
	dev-libs/libpcre2:=

Manifest for 0.1.5

Type File Size Source URLs
DIST protodec-0.1.5.tar.gz 18246 bytes https://github.com/iv-org/protodec/archive/refs/tags/v0.1.5.tar.gz