# Copyright 1999-2003 Gentoo Technologies, Inc. # Distributed under the terms of the GNU General Public License v2 # $Header$ inherit eutils DESCRIPTION="Encrypted Filesystem module for Linux" SRC_URI="http://arg0.net/users/vgough/download/${P}-1.tgz" HOMEPAGE="http://arg0.net/users/vgough/encfs.html" LICENSE="GPL-2" RDEPEND="ssl? ( >=dev-libs/openssl-0.9.7 ) !ssl? ( app-crypt/botan ) >=sys-fs/fuse-1.1 dev-libs/rlog" DEPEND="${RDEPEND}" KEYWORDS="~x86" SLOT="0" IUSE="ssl" src_compile() { econf $(use_enable ssl openssl) \ $(use_enable ssl opensslevp) \ $(use_enable !ssl botan) || "econf failed" emake || "emake failed" } src_install() { dodoc AUTHORS COPYING ChangeLog INSTALL README make DESTDIR=${D} install }