mirror of
https://github.com/pentoo/pentoo-overlay
synced 2025-12-27 18:58:15 +01:00
32 lines
812 B
Bash
32 lines
812 B
Bash
# Copyright 1999-2017 Gentoo Foundation
|
|
# Distributed under the terms of the GNU General Public License v2
|
|
# $Id$
|
|
|
|
EAPI=6
|
|
|
|
PYTHON_COMPAT=( python2_7 )
|
|
PYTHON_REQ_USE="sqlite"
|
|
inherit distutils-r1
|
|
|
|
DESCRIPTION="Framework for analyzing volatile memory"
|
|
HOMEPAGE="http://www.volatilityfoundation.org/"
|
|
SRC_URI="https://github.com/volatilityfoundation/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
|
|
|
|
KEYWORDS="~amd64 ~x86"
|
|
LICENSE="GPL-2+"
|
|
SLOT="0"
|
|
IUSE=""
|
|
|
|
DEPEND=""
|
|
RDEPEND=">=dev-libs/distorm64-3[${PYTHON_USEDEP}]
|
|
dev-libs/libpcre
|
|
dev-python/pycrypto[${PYTHON_USEDEP}]"
|
|
|
|
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
|
|
}
|