blob: 7fdfab9bcffbab325b033a1a5612d39be666bf3c (
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
32
33
34
35
36
37
38
|
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
EAPI=4
inherit toolchain-funcs
MY_P=${P/-/_}
DESCRIPTION="Tool to recover deleted files"
HOMEPAGE="http://www.giis.co.in/giis/"
SRC_URI="http://www.giis.co.in/giis/${MY_P}.tar"
LICENSE="GPL-3"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE=""
RDEPEND="sys-fs/e2fsprogs"
DEPEND="${RDEPEND}
virtual/pkgconfig"
S="${WORKDIR}"/${MY_P}
src_prepare() {
sed -i \
-e '/^CFLAGS/d' \
-e 's/LDFLAGS =/LDFLAGS +=/' \
-e "s:gcc:$(tc-getCC):" \
-e 's:$(LDFLAGS) src/extcarve.c:src/extcarve.c $(LDFLAGS):' \
Makefile || die
}
src_install() {
dobin extcarve
dodoc README HOWTO_CUSTOMIZE
}
|