# Copyright 1999-2005 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: /var/cvsroot/gentoo-x86/net-analyzer/nbtscan/nbtscan-1.5.1-r1.ebuild,v 1.2 2005/07/19 12:37:23 dholm Exp $ inherit eutils S=${WORKDIR}/${P}a DESCRIPTION="NBTscan is a program for scanning IP networks for NetBIOS name information" SRC_URI="http://www.inetcat.org/software/${P}.tar.gz" HOMEPAGE="http://www.inetcat.org/software/nbtscan.html" DEPEND="virtual/libc" SLOT="0" LICENSE="GPL-2" KEYWORDS="~amd64 ~ppc ~ppc-macos ~sparc ~x86" IUSE="" src_unpack() { unpack ${A} cd ${S} epatch ${FILESDIR}/${P}-script-whitespace.patch } src_compile() { ./configure --host=${CHOST} --prefix=/usr || die emake CFLAGS="${CFLAGS}" || die } src_install () { dobin nbtscan dodoc COPYING ChangeLog README }