/[gentoo-x86]/app-misc/btail/btail-0.3.ebuild
Gentoo

Contents of /app-misc/btail/btail-0.3.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.2 - (show annotations) (download)
Wed Oct 17 12:05:39 2012 UTC (7 years, 9 months ago) by ago
Branch: MAIN
CVS Tags: HEAD
Changes since 1.1: +5 -4 lines
Add ~amd64 keyword

(Portage version: 2.1.11.9/cvs/Linux x86_64)

1 # Copyright 1999-2012 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/app-misc/btail/btail-0.3.ebuild,v 1.1 2011/06/24 05:49:36 jer Exp $
4
5 EAPI="4"
6
7 inherit toolchain-funcs
8
9 DESCRIPTION="Bayesian logfile filter"
10 HOMEPAGE="http://www.vanheusden.com/btail/"
11 SRC_URI="${HOMEPAGE}/${P}.tgz"
12
13 LICENSE="GPL-2"
14 SLOT="0"
15 KEYWORDS="~amd64 ~ppc ~x86"
16 IUSE=""
17
18 DEPEND="sys-libs/gdbm"
19 RDEPEND="${DEPEND}"
20
21 src_prepare() {
22 sed -i Makefile \
23 -e '/^LDFLAGS/s:=:+=:g' \
24 -e '/$(CC)/s:-Wall:$(CFLAGS) &:g' \
25 || die
26 sed -i conf.cpp \
27 -e '/Configline/s:):, line):g' \
28 || die
29 }
30
31 src_compile() {
32 emake \
33 CFLAGS="${CFLAGS}" \
34 CXXFLAGS="${CXXFLAGS}" \
35 CC="$(tc-getCC)" \
36 CXX="$(tc-getCXX)"
37 }
38
39 src_install() {
40 dobin blearn btail
41 dodoc readme.txt btail.conf license.txt
42 }

  ViewVC Help
Powered by ViewVC 1.1.20