dev-libs/libtoolchain - 0.8.0 (tatsh-overlay)

Search

Install

Install this version:

emerge -a =dev-libs/libtoolchain-0.8.0

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

autounmask =dev-libs/libtoolchain-0.8.0

Or alternatively:

emerge --autounmask-write -a =dev-libs/libtoolchain-0.8.0

Package Information

Description:
Toolchain development library.
Homepage:
https://github.com/jakcron/libtoolchain
License:
MIT

Ebuild Details

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

EAPI=8

DESCRIPTION="Toolchain development library."
HOMEPAGE="https://github.com/jakcron/libtoolchain"
SRC_URI="https://github.com/jakcron/${PN}/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz"

LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64"

DEPEND="dev-libs/libfmt net-libs/mbedtls"
RDEPEND="${DEPEND}"

src_prepare() {
	# shellcheck disable=SC2016
	sed -re 's/@\$\(C(XX|C)/$(C\1/g' -i makefile || die
	default
}

src_compile() {
	emake static_lib
}

src_install() {
	dolib.a "bin/${PN}.a"
	insinto /usr/include
	doins -r include/*
	einstalldocs
}

Dependencies

DEPEND

dev-libs/libfmt net-libs/mbedtls

RDEPEND

dev-libs/libfmt net-libs/mbedtls

Manifest for 0.8.0

Type File Size Source URLs
DIST libtoolchain-0.8.0.tar.gz 329294 bytes https://github.com/jakcron/libtoolchain/archive/refs/tags/v0.8.0.tar.gz