|
|
# Distributed under the terms of the GNU General Public License v2 | # Distributed under the terms of the GNU General Public License v2 |
# $Header: /var/cvsroot/gentoo-x86/app-misc/btail/btail-0.2.ebuild,v 1.1 2005/01/02 17:11:15 stuart Exp $ | # $Header: /var/cvsroot/gentoo-x86/app-misc/btail/btail-0.2.ebuild,v 1.1 2005/01/02 17:11:15 stuart Exp $ |
| |
inherit eutils |
inherit toolchain-funcs |
| |
DESCRIPTION="Bayesian logfile filter" | DESCRIPTION="Bayesian logfile filter" |
HOMEPAGE="http://www.vanheusden.com/btail/" | HOMEPAGE="http://www.vanheusden.com/btail/" |
|
|
DEPEND="sys-libs/gdbm" | DEPEND="sys-libs/gdbm" |
#RDEPEND="" | #RDEPEND="" |
| |
src_compile() { |
src_unpack() { |
make || die "make failed" |
unpack ${A}; cd ${S} |
|
|
|
sed -i -e 1iCXX=$(tc-getCXX) \ |
|
-e "s,^\(CXXFLAGS=\).*$,\1${CXXFLAGS}," \ |
|
-e "s,^\(LDFLAGS=\),&${LDFLAGS} ," \ |
|
-e "s,\$(CC) -Wall -W,$(tc-getCXX)," \ |
|
Makefile |
} | } |
| |
src_install() { | src_install() { |