diff options
Diffstat (limited to 'app-forensics/libewf/libewf-20171104.ebuild')
-rw-r--r-- | app-forensics/libewf/libewf-20171104.ebuild | 56 |
1 files changed, 56 insertions, 0 deletions
diff --git a/app-forensics/libewf/libewf-20171104.ebuild b/app-forensics/libewf/libewf-20171104.ebuild new file mode 100644 index 000000000000..010f601384f9 --- /dev/null +++ b/app-forensics/libewf/libewf-20171104.ebuild @@ -0,0 +1,56 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +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}/${PN}-experimental-${PV}.tar.gz" + +LICENSE="BSD" +SLOT="0/3" +KEYWORDS="~amd64 ~hppa ~ppc ~x86" +# upstream bug #2597171, pyewf has implicit declarations +#IUSE="debug python unicode" +IUSE="bfio bzip2 debug +fuse nls +ssl static-libs +uuid unicode zlib" + +# uses bundled libbfio until tree version is bumped +RDEPEND=" + fuse? ( sys-fs/fuse:0= ) + nls? ( + virtual/libintl + virtual/libiconv + ) + uuid? ( sys-apps/util-linux ) + ssl? ( dev-libs/openssl:0= ) + zlib? ( sys-libs/zlib ) +" +DEPEND="${RDEPEND} + virtual/pkgconfig + nls? ( sys-devel/gettext ) +" + +# issues finding test executables +RESTRICT="test" + +src_configure() { + local econfargs=( + $(use_enable static-libs static) + $(use_enable nls) + $(use_enable debug verbose-output) + $(use_enable debug debug-output) + $(use_enable unicode wide-character-type) + $(use_with bfio libbfio) + $(use_with zlib) + $(use_with bzip2) + $(use_with ssl openssl) + $(use_with uuid libuuid) + $(use_with fuse libfuse) + ) + econf "${econfargs[@]}" +} + +src_install() { + default + use static-libs || find "${ED}"/usr -name '*.la' -delete +} |