pentoo-overlay/app-forensics/volatility/volatility-2.3.1.ebuild
2013-11-09 15:53:37 +00:00

31 lines
736 B
Bash

# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $
EAPI="5"
PYTHON_COMPAT=( python2_{6,7} )
inherit distutils-r1
DESCRIPTION="Forensic tool for analyzing volatile memory"
HOMEPAGE="http://code.google.com/p/volatility/"
SRC_URI="http://volatility.googlecode.com/files/${P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~x86 ~amd64"
IUSE=""
DEPEND=""
RDEPEND="dev-libs/libpcre
dev-python/pycrypto
>=dev-libs/distorm64-3"
src_install() {
distutils-r1_src_install
mkdir "${D}/usr/share/${PN}"
mv "${D}/usr/contrib/plugins" "${D}/usr/share/${PN}/"
rmdir "${D}/usr/contrib"
mv "${D}/usr/tools" "${D}/usr/share/${PN}/"
dosym /usr/bin/vol.py /usr/bin/volatility
}