mirror of
https://github.com/pentoo/pentoo-overlay
synced 2026-04-18 04:40:56 +02:00
43 lines
940 B
Bash
43 lines
940 B
Bash
# Copyright 1999-2010 Gentoo Foundation
|
|
# Distributed under the terms of the GNU General Public License v2
|
|
# $Header: $
|
|
|
|
EAPI=4
|
|
|
|
PYTHON_DEPEND="2"
|
|
|
|
inherit python
|
|
|
|
DESCRIPTION="Implementation of the EWF (SMART and EnCase) image format"
|
|
HOMEPAGE="http://libewf.sourceforge.net"
|
|
SRC_URI="mirror://sourceforge/libewf/${P}.tar.gz"
|
|
|
|
LICENSE="BSD"
|
|
SLOT="0"
|
|
KEYWORDS="~amd64 ~arm ~hppa ~ppc ~s390 ~sparc ~x86"
|
|
IUSE="debug python rawio unicode"
|
|
|
|
DEPEND="sys-libs/e2fsprogs-libs
|
|
sys-libs/zlib
|
|
dev-libs/openssl"
|
|
RDEPEND="${DEPEND}"
|
|
|
|
pkg_setup() {
|
|
python_set_active_version 2
|
|
python_pkg_setup
|
|
}
|
|
|
|
src_configure() {
|
|
econf \
|
|
$(use_enable unicode wide-character-type) \
|
|
$(use_enable rawio low-level-functions) \
|
|
$(use_enable debug verbose-output) \
|
|
$(use_enable debug debug-output) \
|
|
$(use_enable python)
|
|
}
|
|
|
|
src_install() {
|
|
emake install DESTDIR="${D}"
|
|
dodoc AUTHORS ChangeLog NEWS README documents/*.txt
|
|
doman manuals/*.1 manuals/*.3
|
|
}
|