# Copyright 1999-2014 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: /var/cvsroot/gentoo-x86/app-forensics/sleuthkit/sleuthkit-4.1.3.ebuild,v 1.1 2014/01/31 08:17:35 radhermit Exp $ EAPI=5 AUTOTOOLS_AUTORECONF=1 AUTOTOOLS_IN_SOURCE_BUILD=1 #WANT_ANT_TASKS="ant-core ant-ivy ant-junit" inherit java-pkg-opt-2 java-ant-2 autotools-utils DESCRIPTION="A collection of file system and media management forensic analysis tools" HOMEPAGE="http://www.sleuthkit.org/sleuthkit/" SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz" LICENSE="GPL-2 IBM" SLOT="0/10" # subslot = major soname version KEYWORDS="~amd64 ~hppa ~ppc ~x86 ~x86-macos ~x64-macos" IUSE="aff ewf java" DEPEND="dev-db/sqlite:3 ewf? ( >=app-forensics/libewf-20120328 ) aff? ( app-forensics/afflib ) java? ( >=virtual/jdk-1.6 ) sys-libs/zlib" RDEPEND="${DEPEND} dev-perl/DateManip" DOCS=( NEWS.txt README.txt ) PATCHES=( "${FILESDIR}"/${PN}-4.1.0-system-sqlite.patch "${FILESDIR}"/${PN}-4.1.0-tools-shared-libs.patch "${FILESDIR}"/${PN}-4.1.3-external_type.patch ) src_configure() { local myeconfargs=( $(use_with aff afflib) $(use_with ewf libewf) ) autotools-utils_src_configure } src_compile() { autotools-utils_src_compile if use java; then cd bindings/java eant fi }