# Copyright 1999-2003 Gentoo Technologies, Inc. # Distributed under the terms of the GNU General Public License v2 DESCRIPTION="The Sleuth Kit is a forensic toolkit for analyzing Microsoft and UNIX file systems" SRC_URI="mirror:///sourceforge/sleuthkit/${P}.tar.gz" HOMEPAGE="http://sleuthkit.sourceforge.net/" IUSE="perl" SLOT="0" LICENSE="IBM-PL" KEYWORDS="x86" SLEUTH_HOME=/opt/sleuthkit DEPEND="perl? ( >=dev-lang/perl-5.8 )" src_compile() { if [ `use perl` ] ; then emake || die else emake no-perl || die fi } src_install() { dodir ${SLEUTH_HOME} cp -r bin docs man lib tct-docs ${D}${SLEUTH_HOME} cp COPYING CHANGES LICENSE patchlevel TODO README ${D}{SLEUTH_HOME}/docs }