# Copyright 1999-2008 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: $ inherit eutils autotools MY_P=${P/libewf/libewf-beta} DESCRIPTION="Implementation of the EWF (SMART and EnCase) image format" HOMEPAGE="http://libewf.sourceforge.net" SRC_URI="mirror://sourceforge/libewf/${MY_P}.tar.gz" LICENSE="BSD" SLOT="0" KEYWORDS="~x86 ~amd64" IUSE="debug python rawio unicode" DEPEND=" python? ( dev-lang/python ) sys-libs/e2fsprogs-libs sys-libs/zlib dev-libs/openssl" RDEPEND="${DEPEND}" src_unpack() { unpack "${A}" cd "${S}" eautoreconf } src_compile() { econf \ $(use_enable python) \ $(use_enable unicode wide-character-type) \ $(use_enable rawio raw-access) \ $(use_enable debug verbose-output) \ $(use_enable debug debug-output) emake } src_install() { emake install DESTDIR="${D}" dodoc AUTHORS ChangeLog NEWS README doc/tests.txt }