# Copyright 1999-2004 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: $ inherit eutils DESCRIPTION="Parallel Network Login Auditor" HOMEPAGE="http://www.foofus.net/jmk/medusa.html" SRC_URI="http://www.foofus.net/jmk/tools/${P}.tar.gz" RESTRICT="nomirror" LICENSE="GPL-2" SLOT="0" KEYWORDS="~x86 ~amd64" IUSE="ssl ssh2 ncp postgres svn untested-modules" RESTRICT="nostrip" RDEPEND=" ssl? ( dev-libs/openssl ) ssh2? ( net-libs/libssh2 ) ncp? ( net-fs/ncpfs ) postgres? ( dev-db/libpq ) svn? ( dev-util/subversion )" src_unpack() { unpack ${A} cd "${S}" epatch ${FILESDIR}/${P}-fpic-fix.patch } src_compile() { local myconf="" use untested-modules && myconf="$myconf --enable-untested" econf \ --with-default-mod-path="/usr/lib/medusa/modules" \ ${myconf} || die "econf failed" emake || die "make failed" } src_install() { make DESTDIR="${D}" install || die "Install failed!" dodoc README TODO ChangeLog dohtml doc/*.html }