dev-libs/liblog - 9999 (junkdrawer)

Search

Install

Install this version:

emerge -a =dev-libs/liblog-9999

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

autounmask =dev-libs/liblog-9999

Or alternatively:

emerge --autounmask-write -a =dev-libs/liblog-9999

Package Information

Description:
Library for outputting to a file, console, and/or syslog simultaneously
Homepage:
https://github.com/doctaweeks/liblog
License:
GPL-2

Ebuild Details

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

EAPI=8

inherit autotools

DESCRIPTION="Library for outputting to a file, console, and/or syslog simultaneously"
HOMEPAGE="https://github.com/doctaweeks/liblog"
if [[ ${PV} == "9999" ]] ; then
	inherit git-r3
	EGIT_REPO_URI="https://github.com/doctaweeks/${PN}"
else
	SRC_URI="https://github.com/doctaweeks/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
	KEYWORDS="amd64 x86"
fi

LICENSE="GPL-2"
SLOT="0"
IUSE="static-libs"

src_prepare() {
	default
	eautoreconf
}

src_configure() {
	local myeconfargs=(
		$(use_enable static-libs static)
	)
	econf "${myeconfargs[@]}"
}

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

USE Flags

Manage flags for this package: euse -i <flag> -p dev-libs/liblog | euse -E <flag> -p dev-libs/liblog | euse -D <flag> -p dev-libs/liblog

Global/Standard Flags

Inherited Eclasses