diff options
author | Michael Sterrett <msterret@gentoo.org> | 2003-08-21 22:32:09 +0000 |
---|---|---|
committer | Michael Sterrett <msterret@gentoo.org> | 2003-08-21 22:32:09 +0000 |
commit | 2a6fba903b1dc6de62eea3787734d331c0e887d9 (patch) | |
tree | 448d2f8abb44491c3d97a9ec978087edc747eef5 /net-analyzer/fwlogwatch/fwlogwatch-0.9.3.ebuild | |
parent | Add metadata. (diff) | |
download | gentoo-2-2a6fba903b1dc6de62eea3787734d331c0e887d9.tar.gz gentoo-2-2a6fba903b1dc6de62eea3787734d331c0e887d9.tar.bz2 gentoo-2-2a6fba903b1dc6de62eea3787734d331c0e887d9.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 } |