mirror of
https://github.com/pentoo/pentoo-overlay
synced 2026-04-18 21:00:56 +02:00
31 lines
736 B
Bash
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
|
|
}
|