2014-09-19 10:14:00 +04:00
|
|
|
# Copyright 1999-2014 Gentoo Foundation
|
|
|
|
# Distributed under the terms of the GNU General Public License v2
|
2017-02-27 14:33:07 +03:00
|
|
|
# $Id: f38f0b109dda6da2b166daa1b5ce67be21856842 $
|
2014-09-19 10:14:00 +04:00
|
|
|
|
|
|
|
EAPI=5
|
|
|
|
|
|
|
|
inherit eutils
|
|
|
|
|
|
|
|
DESCRIPTION="Linux admin tool, can help to recover deleted or overwritten files on ext3 and ext4 filesystems"
|
2016-07-27 12:26:17 +03:00
|
|
|
HOMEPAGE="https://sourceforge.net/projects/ext4magic/"
|
2014-09-19 10:14:00 +04:00
|
|
|
SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
|
|
|
|
|
|
|
|
LICENSE="GPL-2"
|
|
|
|
SLOT="0"
|
2014-10-11 12:50:56 +04:00
|
|
|
KEYWORDS="amd64 x86"
|
2014-09-19 10:14:00 +04:00
|
|
|
IUSE="debug expert-mode file-attr"
|
|
|
|
|
|
|
|
RDEPEND="app-arch/bzip2
|
|
|
|
>=sys-apps/file-5.04
|
|
|
|
sys-apps/util-linux
|
|
|
|
>=sys-fs/e2fsprogs-1.41.9
|
|
|
|
sys-libs/zlib"
|
|
|
|
DEPEND="${RDEPEND}"
|
|
|
|
|
|
|
|
DOCS="AUTHORS ChangeLog NEWS README TODO"
|
|
|
|
|
2016-04-19 14:52:58 +03:00
|
|
|
src_prepare() {
|
|
|
|
epatch "${FILESDIR}"/${P}-sysmacros.patch #580192
|
|
|
|
}
|
|
|
|
|
2014-09-19 10:14:00 +04:00
|
|
|
src_configure() {
|
|
|
|
# build-system incorrectly recognizes '--disable-feature' options as enabled!
|
|
|
|
econf \
|
|
|
|
$(usex debug '--enable-debug' '') \
|
|
|
|
$(usex debug '--enable-debug-magic' '') \
|
|
|
|
$(usex expert-mode '--enable-expert-mode' '') \
|
|
|
|
$(usex file-attr '--enable-file-attr' '')
|
|
|
|
}
|