# Copyright 1999-2007 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: /var/cvsroot/gentoo-x86/net-analyzer/authforce/authforce-0.9.8.ebuild,v 1.1 2007/04/17 11:19:59 dragonheart Exp $ inherit autotools DESCRIPTION="An HTTP authentication brute forcer" HOMEPAGE="http://www.divineinvasion.net/authforce" SRC_URI="http://www.divineinvasion.net/authforce/${P}.tar.gz" LICENSE="GPL-2" SLOT="0" KEYWORDS="~amd64 ~ppc ~x86" IUSE="curl nls" DEPEND="sys-libs/readline nls? ( sys-devel/gettext ) curl? ( net-misc/curl )" src_unpack() { unpack ${A} epatch "${FILESDIR}"/${P}-autoconfupdate.patch epatch "${FILESDIR}"/${P}-gettext.patch epatch "${FILESDIR}"/${P}-malloc.patch cd "${S}" touch ChangeLog eautoreconf chmod a+x configure } src_compile() { econf $(use_with curl) $(use_enable nls) --with-path=/usr/share/${PN}/data:. || die emake || die } src_install() { emake DESTDIR="${D}" install || die dodoc ABOUT-NLS AUTHORS BUGS COPYING INSTALL NEWS README THANKS TODO }