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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.4 - (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.3: +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-2.01.ebuild,v 1.3 2005/04/28 19:46:33 config 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 if use amd64; then
33 epatch ${FILESDIR}/${P}-include_fix.patch
34 fi
35 }
36
37 src_compile() {
38 export CC="$(tc-getCC)" OPT="${CFLAGS}"
39 env -u CFLAGS \
40 emake -e no-perl sorter mactime || die "make failed"
41 }
42
43 # This is broken - bug report logged upstream. Maybe next version.
44 # The condition may need to check the output.
45 #
46 # Also this isn't a true test as it only checks if the files compile.
47 #
48 src_test() {
49 ./check-install || die "test failed"
50 einfo '"file missing" is normal'
51 #if ! hasq userpriv FEATURES
52 # icat $(ls -i README.txt | cut -f1 -d ' ') (mount point of README.txt) | diff - README.txt || die "icat test failed"
53 #fi #TODO more work on later
54 }
55
56 src_install() {
57 dobin bin/* || die "dobin failed"
58 dodoc docs/*
59 insinto /usr/share/sorter
60 doins share/sorter/*
61 doman man/man1/*
62 }

  ViewVC Help
Powered by ViewVC 1.1.20