app-misc/btail - 0.3 (gentoo)

Search

Install

Install this version:

emerge -a =app-misc/btail-0.3

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

autounmask =app-misc/btail-0.3

Or alternatively:

emerge --autounmask-write -a =app-misc/btail-0.3

Package Information

Description:
Bayesian logfile filter
Homepage:
https://www.vanheusden.com/btail/
License:
GPL-2

Ebuild Details

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

EAPI=7

inherit toolchain-funcs

DESCRIPTION="Bayesian logfile filter"
HOMEPAGE="https://www.vanheusden.com/btail/"
SRC_URI="https://www.vanheusden.com/btail/${P}.tgz"

LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~ppc ~x86"

DEPEND="sys-libs/gdbm"
RDEPEND="${DEPEND}"

src_prepare() {
	default
	sed -i Makefile \
		-e '/^LDFLAGS/s:=:+=:g' \
		-e '/$(CC)/s:-Wall:$(CFLAGS) &:g' \
		|| die
	sed -i conf.cpp \
		-e '/Configline/s:):, line):g' \
		|| die
}

src_compile() {
	emake \
		CFLAGS="${CFLAGS}" \
		CXXFLAGS="${CXXFLAGS}" \
		CC="$(tc-getCC)" \
		CXX="$(tc-getCXX)"
}

src_install() {
	dobin blearn btail
	dodoc readme.txt btail.conf license.txt
}

Inherited Eclasses

Dependencies

DEPEND

sys-libs/gdbm

RDEPEND

sys-libs/gdbm

Manifest for 0.3

Type File Size Source URLs
DIST btail-0.3.tgz 7402 bytes https://www.vanheusden.com/btail/btail-0.3.tgz