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

Contents of /app-forensics/sleuthkit/sleuthkit-1.73-r2.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.3 - (show annotations) (download)
Thu Apr 30 17:44:17 2009 UTC (10 years, 9 months ago) by patrick
Branch: MAIN
CVS Tags: HEAD
Changes since 1.2: +1 -1 lines
FILE REMOVED
Remove old
(Portage version: 2.2_rc31/cvs/Linux x86_64)

1 # Copyright 1999-2009 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/app-forensics/sleuthkit/sleuthkit-1.73-r2.ebuild,v 1.2 2009/03/01 01:20:53 patrick 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 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=""
16
17 RDEPEND="dev-lang/perl
18 dev-perl/DateManip
19 virtual/libc
20 sys-libs/zlib"
21 DEPEND="${RDEPEND}
22 >=sys-apps/sed-4
23 sys-devel/gcc"
24
25 src_unpack() {
26 unpack ${A}
27 epatch ${P}_dbtool.patch || die "patch failed"
28 cd ${S}
29 sed -i 's:`cd ../..; pwd`:/usr:' src/sorter/install \
30 || die "sed install failed"
31 }
32
33 src_compile() {
34 export CC="$(tc-getCC)" OPT="${CFLAGS}"
35 env -u CFLAGS \
36 emake -e no-perl sorter mactime || die "make failed"
37 }
38
39 # This is broken - bug report logged upstream. Maybe next version.
40 # The condition may need to check the output.
41 #
42 # Also this isn't a true test as it only checks if the files compile.
43 #
44 #src_test() {
45 # ./check-install || die "test failed"
46 # if ! hasq userpriv FEATURES
47 # icat $(ls -i README.txt | cut -f1 -d ' ') (mount point of README.txt) | diff - README.txt || die "icat test failed"
48 # fi #TODO more work on later
49 #}
50
51 src_install() {
52 dobin bin/* || die "dobin failed"
53 dodoc docs/*
54 docinto tct.docs
55 dodoc tct.docs/*
56 insinto /usr/share/sorter
57 doins share/sorter/*
58 doman man/man1/*
59 }

  ViewVC Help
Powered by ViewVC 1.1.20