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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.6 - (show annotations) (download)
Sun Jan 15 02:16:58 2006 UTC (14 years, 1 month ago) by dragonheart
Branch: MAIN
CVS Tags: HEAD
Changes since 1.5: +1 -1 lines
FILE REMOVED
version bump + old version cleanout
(Portage version: 2.1_pre3-r1)

1 # Copyright 1999-2005 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.ebuild,v 1.5 2005/01/01 14:24:27 eradicator Exp $
4
5 inherit toolchain-funcs
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
11 LICENSE="GPL-2 IBM"
12 SLOT="0"
13 KEYWORDS="~arm ~hppa ppc ~s390 sparc x86 ~amd64"
14 IUSE=""
15
16 RDEPEND="dev-lang/perl
17 dev-perl/DateManip
18 virtual/libc
19 sys-libs/zlib"
20 DEPEND="${RDEPEND}
21 >=sys-apps/sed-4
22 sys-devel/gcc"
23
24 src_unpack() {
25 unpack ${A}
26 cd ${S}
27 sed -i '63,69d' src/timeline/config-perl || die "sed config-perl failed"
28 sed -i 's:`cd ../..; pwd`:/usr:' src/sorter/install \
29 || die "sed install failed"
30 }
31
32 src_compile() {
33 export CC="$(tc-getCC)" OPT="${CFLAGS}"
34 env -u CFLAGS \
35 emake -e no-perl sorter mactime || die "make failed"
36 }
37
38 # This is broken - bug report logged upstream. Maybe next version.
39 # The condition may need to check the output.
40 #
41 # Also this isn't a true test as it only checks if the files compile.
42 #
43 #src_test() {
44 # ./check-install || die "test failed"
45 # if ! hasq userpriv FEATURES
46 # icat $(ls -i README.txt | cut -f1 -d ' ') (mount point of README.txt) | diff - README.txt || die "icat test failed"
47 # fi #TODO more work on later
48 #}
49
50 src_install() {
51 dobin bin/* || die "dobin failed"
52 dodoc docs/*
53 docinto tct.docs
54 dodoc tct.docs/*
55 insinto /usr/share/sorter
56 doins share/sorter/*
57 doman man/man1/*
58 }

  ViewVC Help
Powered by ViewVC 1.1.20