lintool fixes
authorHannes Mehnert <hannes@gentoo.org>
Mon, 4 Nov 2002 14:53:52 +0000 (14:53 +0000)
committerHannes Mehnert <hannes@gentoo.org>
Mon, 4 Nov 2002 14:53:52 +0000 (14:53 +0000)
net-analyzer/etherape/etherape-0.8.2-r1.ebuild

index 614f0075d4ba1e95e6d0c6411d6f50b94eb04e51..183b61a19ec14566dc43cf06a49278e3b30d1356 100644 (file)
@@ -1,8 +1,8 @@
 # Copyright 1999-2002 Gentoo Technologies, Inc.
 # Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-analyzer/etherape/etherape-0.8.2-r1.ebuild,v 1.6 2002/11/04 14:38:45 hannes Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-analyzer/etherape/etherape-0.8.2-r1.ebuild,v 1.7 2002/11/04 14:53:52 hannes Exp $
 
-S=${WORKDIR}/${P}
+IUSE="nls"
 DESCRIPTION="A graphical network monitor for Unix modeled after etherman"
 SRC_URI="mirror://sourceforge/etherape/${P}.tar.gz"
 HOMEPAGE="http://etherape.sourceforge.net/"
@@ -20,7 +20,7 @@ KEYWORDS="x86 ppc sparc sparc64"
 src_unpack() {
        unpack ${A}
        cd ${S} 
-       patch -p1 <${FILESDIR}/etherape-0.8.2-gcc3-gentoo.patch
+       patch -p1 < ${FILESDIR}/${P}-gcc3-gentoo.patch
 }
 
 src_compile() {
@@ -32,12 +32,12 @@ src_compile() {
        # configure script not listening to libglade-config?
        CFLAGS="${CFLAGS} `/usr/bin/libglade-config --cflags`"
 
-       ./configure --host=${CHOST}                                     \
-                   --prefix=/usr                                       \
-                   --sysconfdir=/etc                                   \
+       ./configure --host=${CHOST}     \
+                   --prefix=/usr \
+                   --sysconfdir=/etc \
                    ${myconf} || die
 
-       emake || die
+       emake
 }
 
 src_install() {