# Copyright 1999-2004 Gentoo Technologies, Inc. # Distributed under the terms of the GNU General Public License v2 # $Header: $ DESCRIPTION="A collection of file system and media management forensic analysis tools" SRC_URI="mirror://sourceforge/sleuthkit/${P}.tar.gz" HOMEPAGE="http://www.sleuthkit.org/sleuthkit/" KEYWORDS="~x86" LICENSE="GPL-2 IBM" SLOT="0" DEPEND="dev-lang/perl dev-perl/DateManip" src_unpack() { unpack ${A} cd ${S} sed -i '63,69d' src/timeline/config-perl sed -i 's:`cd ../..; pwd`:/usr:' src/sorter/install } src_compile() { export OPT="${CFLAGS}" unset CFLAGS make -e no-perl sorter mactime || die "make failed" } src_install() { dobin bin/* dodoc CHANGES README docs/* docinto tct.docs dodoc tct.docs/* insinto /usr/share/sorter doins share/sorter/* doman man/man1/* }