# Copyright 1999-2004 Gentoo Technologies, Inc. # Distributed under the terms of the GNU General Public License v2 # $Header: $ DESCRIPTION="An HTTP authentication brute forcer" HOMEPAGE="http://kapheine.hypa.net/authforce/" SRC_URI="http://kapheine.hypa.net/authforce/authforce-0.9.6.tar.gz" LICENSE="GPL-2" SLOT="0" KEYWORDS="~x86" IUSE="curl nls" DEPEND="sys-libs/readline curl? ( net-ftp/curl )" src_compile() { [ `use curl` ] || myconf="--without-curl " [ `use nls` ] || myconf="--disable-nls " econf ${myconf} --with-path=/usr/share/${P}:. || die emake || die } src_install() { dodoc ABOUT-NLS AUTHORS BUGS COPYING INSTALL NEWS README THANKS TODO dobin src/authforce doman doc/authforce.1.gz doinfo doc/authforce.info insinto /usr/share/${P} doins data/*.lst }