diff options
author | Seemant Kulleen <seemant@gentoo.org> | 2003-09-15 18:10:15 +0000 |
---|---|---|
committer | Seemant Kulleen <seemant@gentoo.org> | 2003-09-15 18:10:15 +0000 |
commit | 2a7dc7d18f3cc2c155407fe88e61d8e9bb39aea6 (patch) | |
tree | f4ab27f7ccc742a1776a9d98e55dc41321671d22 /sys-fs/dd-rescue/dd-rescue-1.02.ebuild | |
parent | dd_rescue is dd-rescue (diff) | |
download | gentoo-2-2a7dc7d18f3cc2c155407fe88e61d8e9bb39aea6.tar.gz gentoo-2-2a7dc7d18f3cc2c155407fe88e61d8e9bb39aea6.tar.bz2 gentoo-2-2a7dc7d18f3cc2c155407fe88e61d8e9bb39aea6.zip |
dd_rescue is dd-rescue
Diffstat (limited to 'sys-fs/dd-rescue/dd-rescue-1.02.ebuild')
-rw-r--r-- | sys-fs/dd-rescue/dd-rescue-1.02.ebuild | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/sys-fs/dd-rescue/dd-rescue-1.02.ebuild b/sys-fs/dd-rescue/dd-rescue-1.02.ebuild new file mode 100644 index 000000000000..5dd9aa800d29 --- /dev/null +++ b/sys-fs/dd-rescue/dd-rescue-1.02.ebuild @@ -0,0 +1,37 @@ +# Copyright 1999-2003 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/sys-fs/dd-rescue/dd-rescue-1.02.ebuild,v 1.1 2003/09/15 18:10:12 seemant Exp $ + +IUSE="" + +MY_PN=${PN/-/_} +MY_P=${MY_PN}-${PV} + +S=${WORKDIR}/${MY_PN} +DESCRIPTION="similar to dd but can copy from source with errors" +HOMEPAGE="http://www.garloff.de/kurt/linux/ddrescue/" +SRC_URI="http://www.garloff.de/kurt/linux/ddrescue/${MY_P}.tar.gz" + +SLOT="0" +LICENSE="GPL-2" +KEYWORDS="x86 amd64 sparc" + + +src_unpack() { + unpack ${A} + cd ${S} + mv Makefile Makefile.orig + sed -e "s:^CFLAGS.*:CFLAGS = ${CFLAGS}:" \ + Makefile.orig > Makefile +} + +src_compile() { + emake || die +} + +src_install () { + make DESTDIR=${D} install || die + + dodoc COPYING README.dd_rescue +} + |