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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.7 - (show annotations) (download)
Fri Apr 29 23:50:31 2005 UTC (14 years, 9 months ago) by dragonheart
Branch: MAIN
CVS Tags: HEAD
Changes since 1.6: +1 -1 lines
FILE REMOVED
Fixed mactime as per bug #86640. Old version cleanout
(Portage version: 2.0.51.20-r5)

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-r1.ebuild,v 1.6 2005/04/21 18:48:32 blubb 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 '63,69d' src/timeline/config-perl || die "sed config-perl failed"
30 sed -i 's:`cd ../..; pwd`:/usr:' src/sorter/install \
31 || die "sed install failed"
32 }
33
34 src_compile() {
35 export CC="$(tc-getCC)" OPT="${CFLAGS}"
36 env -u CFLAGS \
37 emake -e no-perl sorter mactime || die "make failed"
38 }
39
40 # This is broken - bug report logged upstream. Maybe next version.
41 # The condition may need to check the output.
42 #
43 # Also this isn't a true test as it only checks if the files compile.
44 #
45 #src_test() {
46 # ./check-install || die "test failed"
47 # if ! hasq userpriv FEATURES
48 # icat $(ls -i README.txt | cut -f1 -d ' ') (mount point of README.txt) | diff - README.txt || die "icat test failed"
49 # fi #TODO more work on later
50 #}
51
52 src_install() {
53 dobin bin/* || die "dobin failed"
54 dodoc docs/*
55 docinto tct.docs
56 dodoc tct.docs/*
57 insinto /usr/share/sorter
58 doins share/sorter/*
59 doman man/man1/*
60 }

  ViewVC Help
Powered by ViewVC 1.1.20