contrib/volatility/Pkgfile

21 lines
620 B
Plaintext
Raw Normal View History

2013-11-05 22:07:53 +01:00
# Description: memory artifact extraction utility framework
2017-02-09 12:05:13 +01:00
# URL: https://github.com/volatilityfoundation/volatility/wiki
2013-11-05 22:07:53 +01:00
# Maintainer: Thomas Penteker, tek at serverop dot de
2017-02-09 12:05:13 +01:00
# Depends on: python-setuptools
2013-11-05 22:07:53 +01:00
name=volatility
2019-01-07 22:58:06 +01:00
version=2.6.1
2013-11-05 22:07:53 +01:00
release=1
2019-04-10 02:08:59 +02:00
source=(https://github.com/volatilityfoundation/volatility/archive/$version/$name-$version.tar.gz)
2013-11-05 22:07:53 +01:00
build() {
2017-02-09 12:05:13 +01:00
cd $name-$version
/usr/bin/python setup.py install --prefix=/usr --root=$PKG
2013-11-05 22:07:53 +01:00
2017-02-09 12:05:13 +01:00
install -d $PKG/usr/share/$name
mv $PKG/usr/tools $PKG/usr/share/$name
mv $PKG/usr/contrib $PKG/usr/share/$name
/usr/bin/python -m compileall $PKG/usr/share
2019-01-07 22:58:06 +01:00
2013-11-05 22:07:53 +01:00
}