summaryrefslogtreecommitdiff
blob: c99e7bb08fb3b16a3ffc6367a9f87c974c369bd8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
# Copyright 1999-2004 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-admin/sleuthkit/sleuthkit-1.69.ebuild,v 1.5 2004/05/12 16:25:06 gmsoft Exp $

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/"
RESTRICT="nomirror"
IUSE=""
KEYWORDS="~x86 ~sparc s390 ~ppc hppa"
LICENSE="GPL-2 IBM"
SLOT="0"

RDEPEND="dev-lang/perl
	dev-perl/DateManip
	virtual/glibc
	sys-libs/zlib"

DEPEND="${RDEPEND}
	>=sys-apps/sed-4
	sys-devel/gcc"

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/*
}