| Version | EAPI | Keywords | Slot |
|---|---|---|---|
| 0.10.2-r2 | 8 | ~amd64 ~x86 | 0 |
# Copyright 1999-2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
DESCRIPTION="Recover deleted files on an ext3 file system"
HOMEPAGE="https://code.google.com/archive/p/ext3grep/"
SRC_URI="https://storage.googleapis.com/google-code-archive-downloads/v2/code.google.com/ext3grep/${P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="debug pch"
DEPEND="
sys-fs/e2fsprogs
virtual/os-headers
"
BDEPEND="virtual/pkgconfig"
PATCHES=(
"${FILESDIR}/${PN}-0.10.1-gcc44.patch"
"${FILESDIR}/${P}-include-unistd_h-for-sysconf.patch"
"${FILESDIR}/${P}-new-e2fsprogs.patch"
"${FILESDIR}/${P}-newer-e2fsprogs.patch"
"${FILESDIR}/${P}-missing-cassert-include.patch"
"${FILESDIR}/${P}-include-order.patch"
)
src_configure() {
local myeconfargs=(
$(use_enable debug)
$(use_enable pch)
)
econf "${myeconfargs[@]}"
}
sys-fs/e2fsprogs virtual/os-headers
virtual/pkgconfig