summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2008-03-26 19:25:31 +0000
committerMike Frysinger <vapier@gentoo.org>2008-03-26 19:25:31 +0000
commit2609c57219ca99790e8fd3e68107a799f9506e65 (patch)
tree9ae0f9518f1ad4cf725efb4e12e854304d936c4b /net-analyzer/cutter/cutter-1.03-r1.ebuild
parentalpha/ia64/sparc/x86 stable (diff)
downloadgentoo-2-2609c57219ca99790e8fd3e68107a799f9506e65.tar.gz
gentoo-2-2609c57219ca99790e8fd3e68107a799f9506e65.tar.bz2
gentoo-2-2609c57219ca99790e8fd3e68107a799f9506e65.zip
Add amd64 love and cleanup ebuild a bit.
(Portage version: 2.2_pre5)
Diffstat (limited to 'net-analyzer/cutter/cutter-1.03-r1.ebuild')
-rw-r--r--net-analyzer/cutter/cutter-1.03-r1.ebuild14
1 files changed, 7 insertions, 7 deletions
diff --git a/net-analyzer/cutter/cutter-1.03-r1.ebuild b/net-analyzer/cutter/cutter-1.03-r1.ebuild
index d8dd3f94cfa9..8612256268aa 100644
--- a/net-analyzer/cutter/cutter-1.03-r1.ebuild
+++ b/net-analyzer/cutter/cutter-1.03-r1.ebuild
@@ -1,17 +1,17 @@
-# Copyright 1999-2007 Gentoo Foundation
+# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-analyzer/cutter/cutter-1.03-r1.ebuild,v 1.2 2007/03/20 13:35:42 armin76 Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-analyzer/cutter/cutter-1.03-r1.ebuild,v 1.3 2008/03/26 19:25:31 vapier Exp $
inherit eutils toolchain-funcs
DESCRIPTION="TCP/IP Connection cutting on Linux Firewalls and Routers"
+HOMEPAGE="http://www.lowth.com/cutter/"
SRC_URI="http://www.lowth.com/cutter/software/${P}.tgz"
-HOMEPAGE="http://www.lowth.com/cutter"
LICENSE="GPL-2"
SLOT="0"
IUSE=""
-KEYWORDS="~ppc x86"
+KEYWORDS="~amd64 ~ppc x86"
DEPEND=""
RDEPEND=""
@@ -20,15 +20,15 @@ src_unpack() {
unpack ${A}
cd "${S}"
epatch "${FILESDIR}"/${P}-debian.patch
+ rm -f Makefile # implicit rules are better ;x
}
src_compile() {
- echo "$(tc-getCC) ${CFLAGS} cutter.c -o cutter"
- "$(tc-getCC)" ${CFLAGS} cutter.c -o cutter
+ emake cutter CC="$(tc-getCC)" || die
}
src_install() {
- dosbin cutter
+ dosbin cutter || die
dodoc README
doman debian/cutter.8
}