/[gentoo-x86]/app-forensics/sleuthkit/sleuthkit-2.08.ebuild
Gentoo

Contents of /app-forensics/sleuthkit/sleuthkit-2.08.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.2 - (show annotations) (download)
Thu Jan 8 20:16:37 2009 UTC (11 years, 1 month ago) by patrick
Branch: MAIN
CVS Tags: HEAD
Changes since 1.1: +1 -1 lines
FILE REMOVED
Removing old
(Portage version: 2.2_rc20/cvs/Linux 2.6.28 x86_64)

1 # Copyright 1999-2007 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/app-forensics/sleuthkit/sleuthkit-2.08.ebuild,v 1.1 2007/04/11 22:20:06 falco Exp $
4
5 inherit toolchain-funcs eutils
6
7 DESCRIPTION="A collection of file system and media management forensic analysis tools"
8 HOMEPAGE="http://www.sleuthkit.org/sleuthkit/"
9 SRC_URI="mirror://sourceforge/sleuthkit/${P}.tar.gz
10 dbtool? ( mirror://gentoo/${P}_dbtool.patch.bz2 ) "
11
12 LICENSE="GPL-2 IBM"
13 SLOT="0"
14 KEYWORDS="~amd64 ~arm ~hppa ~ppc ~s390 ~sparc ~x86"
15 IUSE="dbtool"
16
17 RDEPEND="dev-perl/DateManip
18 !sys-apps/dstat"
19
20 src_unpack() {
21 unpack ${A}
22 use dbtool && epatch "${P}_dbtool.patch"
23 epatch "${FILESDIR}/${PN}-makefiles_fix.patch"
24 epatch "${FILESDIR}/${PN}-fscheck.c_fix.patch"
25 cd ${S}
26 sed -i '63,69d' src/timeline/config-perl || die "sed config-perl failed"
27 sed -i 's:`cd ../..; pwd`:/usr:' src/sorter/install \
28 || die "sed install failed"
29 }
30
31 src_compile() {
32 export CC="$(tc-getCC)" OPT="${CFLAGS}"
33 # Targets: this is so it doesn't remake sys-apps/file
34 # -j1: it really doesn't compile well with -j2 or more,
35 # even after having fixed the Makefiles... :(
36 env -u CFLAGS \
37 emake -j1 -e bin no-perl sorter mactime || die "make failed"
38 }
39
40 src_install() {
41 dobin bin/* || die "dobin failed"
42 dodoc docs/*
43 docinto api-doc
44 dohtml docs/api-doc/*
45 insinto /usr/share/sorter
46 doins share/sorter/*
47 doman man/man1/*
48 }

  ViewVC Help
Powered by ViewVC 1.1.20