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

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

Parent Directory Parent Directory | Revision Log Revision Log


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

1 dragonheart 1.1 # Copyright 1999-2006 Gentoo Foundation
2     # Distributed under the terms of the GNU General Public License v2
3 patrick 1.8 # $Header: /var/cvsroot/gentoo-x86/app-forensics/sleuthkit/sleuthkit-2.03.ebuild,v 1.7 2006/11/12 05:39:22 vapier Exp $
4 dragonheart 1.1
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 vapier 1.7 mirror://gentoo/${P}_dbtool.patch.bz2"
11 dragonheart 1.1
12     LICENSE="GPL-2 IBM"
13     SLOT="0"
14 vapier 1.7 KEYWORDS="amd64 arm hppa ppc s390 sparc x86"
15 dragonheart 1.1 IUSE=""
16    
17     RDEPEND="dev-perl/DateManip"
18    
19     src_unpack() {
20     unpack "${P}.tar.gz"
21     #unpack "${A}"
22     einfo 'unpacked'
23     #epatch "${P}_dbtool.patch"
24     epatch "${DISTDIR}/${P}_dbtool.patch.bz2"
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     # this is so it doesn't remake sys-apps/file
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     einfo '"file missing" is normal'
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     insinto /usr/share/sorter
55     doins share/sorter/*
56     doman man/man1/*
57     }

  ViewVC Help
Powered by ViewVC 1.1.20