diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
commit | 4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch) | |
tree | ba5f07bf3f9d22d82e54a462313f5d244036c768 /app-misc/btail/btail-0.3.ebuild |
reinit the tree, so we can have metadata
Diffstat (limited to 'app-misc/btail/btail-0.3.ebuild')
-rw-r--r-- | app-misc/btail/btail-0.3.ebuild | 41 |
1 files changed, 41 insertions, 0 deletions
diff --git a/app-misc/btail/btail-0.3.ebuild b/app-misc/btail/btail-0.3.ebuild new file mode 100644 index 000000000000..7a7acc3d203f --- /dev/null +++ b/app-misc/btail/btail-0.3.ebuild @@ -0,0 +1,41 @@ +# Copyright 1999-2012 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI="4" + +inherit toolchain-funcs + +DESCRIPTION="Bayesian logfile filter" +HOMEPAGE="http://www.vanheusden.com/btail/" +SRC_URI="${HOMEPAGE}/${P}.tgz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~ppc ~x86" +IUSE="" + +DEPEND="sys-libs/gdbm" +RDEPEND="${DEPEND}" + +src_prepare() { + 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 +} |