contrib/volatility/Pkgfile

20 lines
597 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
2017-02-09 12:05:13 +01:00
version=2.6
2013-11-05 22:07:53 +01:00
release=1
2017-02-09 12:05:13 +01:00
source=(https://github.com/volatilityfoundation/$name/archive/$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
2013-11-05 22:07:53 +01:00
}