net-libs/libtlsrpt - 9999 (gentoo)

Search

Install

Install this version:

emerge -a =net-libs/libtlsrpt-9999

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

autounmask =net-libs/libtlsrpt-9999

Or alternatively:

emerge --autounmask-write -a =net-libs/libtlsrpt-9999

Package Information

Description:
library to implement TLSRPT
Homepage:
https://github.com/sys4/libtlsrpt
License:
LGPL-3+

Ebuild Details

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

EAPI=8

inherit autotools

if [[ ${PV} == 9999 ]]; then
	inherit git-r3
	MY_P="${PN}${PV/_/-}"
	EGIT_REPO_URI="https://github.com/sys4/${PN}.git"
else
	MY_P="${PN}-${PV/_/-}"
	SRC_URI="https://github.com/sys4/${PN}/releases/download/v${PV/_/-}/${MY_P}.tar.gz"
	KEYWORDS="~amd64"
	S="${WORKDIR}/${MY_P}"
fi

DESCRIPTION="library to implement TLSRPT"
HOMEPAGE="https://github.com/sys4/libtlsrpt"

LICENSE="LGPL-3+"
SLOT="0"

RDEPEND="${DEPEND}"

src_prepare() {
	if [[ ${PV} == 9999 ]]; then
		eautoreconf
	fi
	default
}

src_install() {
	default
	find "${ED}" -type f -name '*.la' -delete || die
}

Inherited Eclasses