summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim Harder <radhermit@gentoo.org>2011-08-23 23:52:56 +0000
committerTim Harder <radhermit@gentoo.org>2011-08-23 23:52:56 +0000
commit89fc5fdac0356945f0c410ea9d8fa3a3f67d2f10 (patch)
treec7a008152e211518097f44ed64f94dbaddcbd946 /app-forensics/autopsy/autopsy-2.24.ebuild
parentVersion bump. (diff)
downloadhistorical-89fc5fdac0356945f0c410ea9d8fa3a3f67d2f10.tar.gz
historical-89fc5fdac0356945f0c410ea9d8fa3a3f67d2f10.tar.bz2
historical-89fc5fdac0356945f0c410ea9d8fa3a3f67d2f10.zip
Version bump.
Package-Manager: portage-2.2.0_alpha51/cvs/Linux x86_64
Diffstat (limited to 'app-forensics/autopsy/autopsy-2.24.ebuild')
-rw-r--r--app-forensics/autopsy/autopsy-2.24.ebuild61
1 files changed, 61 insertions, 0 deletions
diff --git a/app-forensics/autopsy/autopsy-2.24.ebuild b/app-forensics/autopsy/autopsy-2.24.ebuild
new file mode 100644
index 000000000000..e54ac15fb251
--- /dev/null
+++ b/app-forensics/autopsy/autopsy-2.24.ebuild
@@ -0,0 +1,61 @@
+# Copyright 1999-2011 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/app-forensics/autopsy/autopsy-2.24.ebuild,v 1.1 2011/08/23 23:52:56 radhermit Exp $
+
+EAPI=4
+
+DESCRIPTION="A graphical interface to the digital forensic analysis tools in The Sleuth Kit."
+HOMEPAGE="http://www.sleuthkit.org/autopsy/"
+SRC_URI="mirror://sourceforge/autopsy/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~hppa ~ppc ~x86"
+IUSE=""
+
+# Runtime depend on grep and file deliberate
+RDEPEND=">=dev-lang/perl-5.8.0
+ >=app-forensics/sleuthkit-3.0.0
+ sys-apps/grep
+ sys-apps/file"
+DEPEND=""
+
+src_configure() {
+ ./configure 2>&1 >/dev/null <<-EOF
+ n
+ /tmp
+ EOF
+
+ cat <<-EOF > autopsy
+ #!/usr/bin/perl -wT
+ use lib '/usr/lib/autopsy/';
+ use lib '/usr/lib/autopsy/lib/';
+ base/autopsy.base
+ EOF
+
+ sed -i 's:conf.pl:/etc/autopsy.pl:' $(grep -lr conf\.pl ./)
+ sed -i "s:INSTALLDIR = .*:INSTALLDIR = \'/usr/lib/autopsy\';:" conf.pl
+}
+
+src_compile() { :; }
+
+src_install() {
+ insinto /usr/lib/autopsy
+ doins autopsy
+ doins global.css
+ insinto /usr/lib/autopsy/help
+ doins help/*
+ insinto /usr/lib/autopsy/lib
+ doins lib/*
+ insinto /usr/lib/autopsy/pict
+ doins pict/*
+ insinto /etc
+ newins conf.pl autopsy.pl
+
+ dodir /usr/bin
+ dosym /usr/lib/autopsy/autopsy /usr/bin/autopsy
+ fperms +x /usr/lib/autopsy/autopsy
+
+ doman $(find man/ -type f)
+ dodoc CHANGES.txt README* TODO.txt docs/sleuthkit-informer*.txt
+}