diff options
author | Göktürk Yüksek <gokturk@gentoo.org> | 2018-04-04 08:07:03 -0400 |
---|---|---|
committer | Göktürk Yüksek <gokturk@gentoo.org> | 2018-04-04 08:08:32 -0400 |
commit | 9d427990c39a9ab3cf97b6feb243e9f28620f79c (patch) | |
tree | 2f48549633ab3e2f10f0e70b15a77d46eed3f7b4 /sys-fs/ext4magic/ext4magic-0.3.2-r1.ebuild | |
parent | sys-libs/libomp: Drop old 3.9.0 (diff) | |
download | gentoo-9d427990c39a9ab3cf97b6feb243e9f28620f79c.tar.gz gentoo-9d427990c39a9ab3cf97b6feb243e9f28620f79c.tar.bz2 gentoo-9d427990c39a9ab3cf97b6feb243e9f28620f79c.zip |
sys-fs/ext4magic: fix #650074
Also bump EAPI and enable USE=expert_mode by default.
Bug: https://sourceforge.net/p/ext4magic/tickets/10/
Closes: https://bugs.gentoo.org/650074
Package-Manager: Portage-2.3.27, Repoman-2.3.9
Diffstat (limited to 'sys-fs/ext4magic/ext4magic-0.3.2-r1.ebuild')
-rw-r--r-- | sys-fs/ext4magic/ext4magic-0.3.2-r1.ebuild | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/sys-fs/ext4magic/ext4magic-0.3.2-r1.ebuild b/sys-fs/ext4magic/ext4magic-0.3.2-r1.ebuild new file mode 100644 index 000000000000..f26ce3b1d1d7 --- /dev/null +++ b/sys-fs/ext4magic/ext4magic-0.3.2-r1.ebuild @@ -0,0 +1,36 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +DESCRIPTION="Tool for recovery of deleted or overwritten files on ext3/ext4 filesystems" +HOMEPAGE="https://sourceforge.net/projects/ext4magic/" +SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~x86" +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" + +PATCHES=( + "${FILESDIR}"/${PN}-0.3.2-sysmacros.patch + "${FILESDIR}"/${PN}-0.3.2-i_dir_acl.patch +) + +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' '') +} |