/[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.1 - (show annotations) (download)
Fri Jun 24 05:49:36 2011 UTC (9 years, 1 month ago) by jer
Branch: MAIN
Version bump. Clean up ebuild. Fix one compiler warning.

(Portage version: 2.2.0_alpha41/cvs/Linux x86_64)

1 # Copyright 1999-2011 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.2.ebuild,v 1.5 2008/12/30 19:33:14 angelos 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="~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 CFLAGS="${CFLAGS}" \
33 CXXFLAGS="${CXXFLAGS}" \
34 CC="$(tc-getCC)" \
35 CXX="$(tc-getCXX)"
36 }
37
38 src_install() {
39 dobin blearn btail
40 dodoc readme.txt btail.conf license.txt
41 }

  ViewVC Help
Powered by ViewVC 1.1.20