mirror of
https://github.com/pentoo/pentoo-overlay
synced 2026-04-30 10:41:01 +02:00
48 lines
1.3 KiB
Bash
48 lines
1.3 KiB
Bash
# Copyright 1999-2010 Gentoo Foundation
|
|
# Distributed under the terms of the GNU General Public License v2
|
|
# $Header: $
|
|
|
|
EAPI=3
|
|
PYTHON_DEPEND="2:2.6"
|
|
|
|
inherit cmake-utils python
|
|
|
|
DESCRIPTION="A digital forensics framework which aims to analyze and recover any
|
|
kind of digital artifact."
|
|
HOMEPAGE="http://tracker.digital-forensic.org/"
|
|
SRC_URI="http://www.digital-forensic.org/${PN}-src-${PV}.tar.gz"
|
|
|
|
LICENSE="GPL-2"
|
|
SLOT="0"
|
|
KEYWORDS="~x86 ~amd64"
|
|
IUSE="phonon doc ewf aff"
|
|
RESTRICT="fetch"
|
|
|
|
DEPEND=">=dev-lang/swig-1.3.38
|
|
dev-python/sip
|
|
doc? ( >=dev-python/PyQt4-4.4.0[phonon?,webkit,assistant] )
|
|
!doc? ( >=dev-python/PyQt4-4.4.0[phonon?] )
|
|
>=sys-apps/file-4.26[python]
|
|
"
|
|
RDEPEND="${DEPEND}
|
|
ewf? ( >=app-forensics/libewf-20100226 )
|
|
aff? ( app-forensics/afflib )"
|
|
|
|
#fixme
|
|
#app-forensics/volatility
|
|
#remove dff-src-1.0.0/modules/mem/* (volatility module)
|
|
|
|
pkg_nofetch() {
|
|
einfo "Direct download access has been restricted by the upstream"
|
|
einfo "Navigate your browser to http://www.digital-forensic.org/downloads/${PV}/dff-src-${PV}.tar.gz"
|
|
einfo "press download button and save the archive to ${DISTDIR}"
|
|
}
|
|
|
|
src_prepare() {
|
|
epatch "${FILESDIR}/${P}-disable-qtassistant.patch"
|
|
}
|
|
|
|
src_configure() {
|
|
mycmakeargs+=( "-DINSTALL:BOOLEAN=ON" )
|
|
cmake-utils_src_configure
|
|
}
|