diff options
Diffstat (limited to 'sys-fs/extcarve/extcarve-1.3.ebuild')
-rw-r--r-- | sys-fs/extcarve/extcarve-1.3.ebuild | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/sys-fs/extcarve/extcarve-1.3.ebuild b/sys-fs/extcarve/extcarve-1.3.ebuild new file mode 100644 index 0000000..f101d7f --- /dev/null +++ b/sys-fs/extcarve/extcarve-1.3.ebuild @@ -0,0 +1,36 @@ +# Copyright 1999-2011 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ + +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} + dev-util/pkgconfig" + +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 +} |