summaryrefslogtreecommitdiff
path: root/sys-fs
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2004-10-26 04:44:48 +0000
committerMike Frysinger <vapier@gentoo.org>2004-10-26 04:44:48 +0000
commit3958a212d4c1e70fd4219c21fc3830a87ff9b5d8 (patch)
treea522bf4ee98a1924e32ce5fee544d0d55300987f /sys-fs
parentremove IUSE (defined in toolchain.eclass) and fix DEPENDs (Manifest recommit) (diff)
downloadgentoo-2-3958a212d4c1e70fd4219c21fc3830a87ff9b5d8.tar.gz
gentoo-2-3958a212d4c1e70fd4219c21fc3830a87ff9b5d8.tar.bz2
gentoo-2-3958a212d4c1e70fd4219c21fc3830a87ff9b5d8.zip
USE=static support #68615
Diffstat (limited to 'sys-fs')
-rw-r--r--sys-fs/dd-rescue/ChangeLog5
-rw-r--r--sys-fs/dd-rescue/dd-rescue-1.10.ebuild14
2 files changed, 12 insertions, 7 deletions
diff --git a/sys-fs/dd-rescue/ChangeLog b/sys-fs/dd-rescue/ChangeLog
index 60e94fe56f17..3ab375858d53 100644
--- a/sys-fs/dd-rescue/ChangeLog
+++ b/sys-fs/dd-rescue/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for sys-fs/dd-rescue
# Copyright 2002-2004 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-fs/dd-rescue/ChangeLog,v 1.7 2004/09/04 03:02:09 swegener Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-fs/dd-rescue/ChangeLog,v 1.8 2004/10/26 04:44:48 vapier Exp $
+
+ 26 Oct 2004; Mike Frysinger <vapier@gentoo.org> dd-rescue-1.10.ebuild:
+ USE=static support #68615 by Martin von Gagern.
*dd-rescue-1.10 (04 Sep 2004)
diff --git a/sys-fs/dd-rescue/dd-rescue-1.10.ebuild b/sys-fs/dd-rescue/dd-rescue-1.10.ebuild
index 4fe9fe51fd35..5128745250df 100644
--- a/sys-fs/dd-rescue/dd-rescue-1.10.ebuild
+++ b/sys-fs/dd-rescue/dd-rescue-1.10.ebuild
@@ -1,10 +1,11 @@
# Copyright 1999-2004 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-fs/dd-rescue/dd-rescue-1.10.ebuild,v 1.1 2004/09/04 03:02:09 swegener Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-fs/dd-rescue/dd-rescue-1.10.ebuild,v 1.2 2004/10/26 04:44:48 vapier Exp $
+
+inherit flag-o-matic
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/"
@@ -12,17 +13,18 @@ SRC_URI="http://www.garloff.de/kurt/linux/ddrescue/${MY_P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
-KEYWORDS="~x86 ~ppc ~sparc ~amd64"
-IUSE=""
+KEYWORDS="amd64 ppc sparc x86"
+IUSE="static"
RDEPEND=""
DEPEND=">=sys-apps/sed-4"
src_compile() {
+ use static && append-flags -static
emake RPM_OPT_FLAGS="${CFLAGS}" || die "emake failed"
}
src_install() {
- make DESTDIR=${D} install || die "make install failed"
- dodoc README.dd_rescue || die "dodoc failed"
+ make DESTDIR="${D}" install || die "make install failed"
+ dodoc README.dd_rescue
}