Parent Directory
|
Revision Log
Fix building with recent toolchain wrt #422789 by Diego Elio Pettenò. Missing dependencies of e2fsprogs, os-headers, and pkg-config. (Portage version: 2.2.0_alpha142/cvs/Linux x86_64, signed Manifest commit with key 4868F14D)
| 1 | # Copyright 1999-2012 Gentoo Foundation |
| 2 | # Distributed under the terms of the GNU General Public License v2 |
| 3 | # $Header: /var/cvsroot/gentoo-x86/sys-fs/ext3grep/ext3grep-0.10.2.ebuild,v 1.3 2012/02/26 17:51:44 hanno Exp $ |
| 4 | |
| 5 | EAPI=4 |
| 6 | inherit eutils |
| 7 | |
| 8 | DESCRIPTION="Recover deleted files on an ext3 file system" |
| 9 | HOMEPAGE="http://code.google.com/p/ext3grep/" |
| 10 | SRC_URI="http://ext3grep.googlecode.com/files/${P}.tar.gz" |
| 11 | |
| 12 | LICENSE="GPL-2" |
| 13 | SLOT="0" |
| 14 | KEYWORDS="~amd64 ~x86" |
| 15 | IUSE="debug pch" |
| 16 | |
| 17 | DOCS="NEWS README" |
| 18 | |
| 19 | RDEPEND="" |
| 20 | DEPEND="sys-fs/e2fsprogs |
| 21 | virtual/os-headers |
| 22 | virtual/pkgconfig" |
| 23 | |
| 24 | src_prepare() { |
| 25 | epatch \ |
| 26 | "${FILESDIR}"/${PN}-0.10.1-gcc44.patch \ |
| 27 | "${FILESDIR}"/${P}-include-unistd_h-for-sysconf.patch |
| 28 | |
| 29 | # Fix build against latest e2fsprogs, taken from |
| 30 | # https://code.google.com/p/ext3grep/issues/detail?id=34 |
| 31 | epatch "${FILESDIR}"/${P}-new-e2fsprogs.diff |
| 32 | } |
| 33 | |
| 34 | src_configure() { |
| 35 | econf \ |
| 36 | $(use_enable debug) \ |
| 37 | $(use_enable pch) |
| 38 | } |
| ViewVC Help | |
| Powered by ViewVC 1.1.20 |