2018-03-13 12:36:18 -07:00
|
|
|
# Copyright 1999-2018 Gentoo Foundation
|
|
|
|
# Distributed under the terms of the GNU General Public License v2
|
|
|
|
|
2023-09-13 21:06:47 -07:00
|
|
|
EAPI=8
|
2018-03-13 12:36:18 -07:00
|
|
|
|
|
|
|
AUTOTOOLS_IN_SOURCE_BUILD=1
|
|
|
|
|
|
|
|
DESCRIPTION="Implementation of the EWF (SMART and EnCase) image format"
|
|
|
|
HOMEPAGE="https://github.com/libyal/libewf"
|
|
|
|
SRC_URI="https://github.com/libyal/libewf/releases/download/${PV}/libewf-experimental-${PV}.tar.gz"
|
|
|
|
|
|
|
|
LICENSE="BSD"
|
|
|
|
SLOT="0/2"
|
|
|
|
KEYWORDS="~amd64 ~hppa ~ppc ~x86"
|
|
|
|
# upstream bug #2597171, pyewf has implicit declarations
|
|
|
|
#IUSE="debug python unicode"
|
|
|
|
IUSE="bfio debug ewf +fuse +ssl static-libs +uuid unicode zlib"
|
|
|
|
|
|
|
|
DEPEND="
|
|
|
|
sys-libs/zlib
|
|
|
|
bfio? ( =app-forensics/libbfio-0.0.20120425_alpha )
|
|
|
|
fuse? ( sys-fs/fuse:= )
|
|
|
|
uuid? ( sys-apps/util-linux )
|
|
|
|
ssl? ( dev-libs/openssl:0= )
|
|
|
|
zlib? ( sys-libs/zlib )"
|
|
|
|
RDEPEND="${DEPEND}"
|
|
|
|
|
|
|
|
DOCS=( AUTHORS ChangeLog NEWS README documents/header.txt documents/header2.txt )
|
|
|
|
|
|
|
|
src_configure() {
|
2018-03-22 09:23:06 -07:00
|
|
|
econf \
|
|
|
|
$(use_enable debug debug-output)\
|
|
|
|
$(use_enable debug verbose-output)\
|
|
|
|
$(use_enable ewf v1-api)\
|
|
|
|
$(use_enable unicode wide-character-type)\
|
2023-01-11 18:28:29 -08:00
|
|
|
$(use_with zlib auto-detect)\
|
2018-03-13 12:36:18 -07:00
|
|
|
# autodetects bzip2 but does not use
|
2018-03-22 09:23:06 -07:00
|
|
|
--without-bzip2\
|
|
|
|
$(use_with bfio libbfio)\
|
|
|
|
$(use_with ssl openssl)\
|
|
|
|
$(use_with uuid libuuid)\
|
2018-03-13 12:36:18 -07:00
|
|
|
$(use_with fuse libfuse)
|
|
|
|
}
|
|
|
|
|
|
|
|
src_install() {
|
2018-03-22 09:23:06 -07:00
|
|
|
emake DESTDIR="${D}" install
|
2018-03-13 12:36:18 -07:00
|
|
|
doman manuals/*.1 manuals/*.3
|
|
|
|
}
|