diff options
author | 2003-08-21 22:32:09 +0000 | |
---|---|---|
committer | 2003-08-21 22:32:09 +0000 | |
commit | 828d982aa77e474c211a52c725ebe705e72d39c7 (patch) | |
tree | 61d2154edf17df80cd600ecc565ad5b1ce68ea17 /net-analyzer/fwlogwatch/fwlogwatch-0.9.3.ebuild | |
parent | Add metadata. (diff) | |
download | historical-828d982aa77e474c211a52c725ebe705e72d39c7.tar.gz historical-828d982aa77e474c211a52c725ebe705e72d39c7.tar.bz2 historical-828d982aa77e474c211a52c725ebe705e72d39c7.zip |
sed in src_unpack; add error messages
Diffstat (limited to 'net-analyzer/fwlogwatch/fwlogwatch-0.9.3.ebuild')
-rw-r--r-- | net-analyzer/fwlogwatch/fwlogwatch-0.9.3.ebuild | 25 |
1 files changed, 18 insertions, 7 deletions
diff --git a/net-analyzer/fwlogwatch/fwlogwatch-0.9.3.ebuild b/net-analyzer/fwlogwatch/fwlogwatch-0.9.3.ebuild index 72bd942d80fa..5d0047e5dafb 100644 --- a/net-analyzer/fwlogwatch/fwlogwatch-0.9.3.ebuild +++ b/net-analyzer/fwlogwatch/fwlogwatch-0.9.3.ebuild @@ -1,19 +1,30 @@ -# $Header: /var/cvsroot/gentoo-x86/net-analyzer/fwlogwatch/fwlogwatch-0.9.3.ebuild,v 1.2 2003/07/06 20:07:55 blkdeath Exp $ +# Copyright 1999-2003 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/net-analyzer/fwlogwatch/fwlogwatch-0.9.3.ebuild,v 1.3 2003/08/21 22:32:04 msterret Exp $ DESCRIPTION="A packet filter and firewall log analyzer" HOMEPAGE="http://cert.uni-stuttgart.de/projects/fwlogwatch/" SRC_URI="http://www.kyb.uni-stuttgart.de/boris/sw/${P}.tar.gz" + +KEYWORDS="x86 ~sparc" LICENSE="GPL-1" SLOT="0" -KEYWORDS="x86 ~sparc" IUSE="" -DEPEND="" + +DEPEND=">=sys-apps/sed-4" RDEPEND="" +src_unpack() { + unpack ${A} + cd ${S} + + sed -i \ + -e "s/^CFLAGS = /CFLAGS = ${CFLAGS} /g" Makefile || \ + die "sed Makefile failed" +} + src_compile() { - sed -e "s/^CFLAGS = /CFLAGS = ${CFLAGS} /g" Makefile > ${T}/Makefile.fwlogwatch - mv -f ${T}/Makefile.fwlogwatch Makefile - emake || die + emake || die "emake failed" } src_install() { @@ -27,7 +38,7 @@ src_install() { doins contrib/fwlogwatch.php doins contrib insinto /etc - doins fwlogwatch.config fwlogwatch.template + doins fwlogwatch.config fwlogwatch.template dodoc AUTHORS ChangeLog CREDITS COPYING README doman fwlogwatch.8 } |