summaryrefslogtreecommitdiff
blob: a5875e1ce5962a776df5733532ad562b15fa9bb9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
# Copyright 1999-2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/sys-fs/ext3grep/ext3grep-0.10.2.ebuild,v 1.2 2010/07/08 05:13:10 ssuominen Exp $

EAPI=3
inherit eutils

DESCRIPTION="Recover deleted files on an ext3 file system"
HOMEPAGE="http://code.google.com/p/ext3grep/"
SRC_URI="http://ext3grep.googlecode.com/files/${P}.tar.gz"

LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="debug pch"

src_prepare() {
	epatch "${FILESDIR}"/${PN}-0.10.1-gcc44.patch
}

src_configure() {
	econf \
		--disable-dependency-tracking \
		$(use_enable debug) \
		$(use_enable pch)
}

src_install() {
	emake DESTDIR="${D}" install || die
	dodoc NEWS README || die
}