summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'sys-fs/safecopy')
-rw-r--r--sys-fs/safecopy/ChangeLog7
-rw-r--r--sys-fs/safecopy/safecopy-1.4.ebuild52
2 files changed, 58 insertions, 1 deletions
diff --git a/sys-fs/safecopy/ChangeLog b/sys-fs/safecopy/ChangeLog
index b8f4f08585e3..9ddd959eded7 100644
--- a/sys-fs/safecopy/ChangeLog
+++ b/sys-fs/safecopy/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for sys-fs/safecopy
# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-fs/safecopy/ChangeLog,v 1.3 2009/05/27 15:30:45 scarabeus Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-fs/safecopy/ChangeLog,v 1.4 2009/07/16 13:13:39 ssuominen Exp $
+
+*safecopy-1.4 (16 Jul 2009)
+
+ 16 Jul 2009; Samuli Suominen <ssuominen@gentoo.org> +safecopy-1.4.ebuild:
+ Version bump wrt #277418, thanks to Diego E. Pettenò and Corvus Corax.
27 May 2009; Tomáš Chvátal <scarabeus@gentoo.org> safecopy-1.3.ebuild:
Modify the test handling. Fixes QA issues. Thx to nirbheek for pointing
diff --git a/sys-fs/safecopy/safecopy-1.4.ebuild b/sys-fs/safecopy/safecopy-1.4.ebuild
new file mode 100644
index 000000000000..41187ff344b5
--- /dev/null
+++ b/sys-fs/safecopy/safecopy-1.4.ebuild
@@ -0,0 +1,52 @@
+# Copyright 1999-2009 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sys-fs/safecopy/safecopy-1.4.ebuild,v 1.1 2009/07/16 13:13:39 ssuominen Exp $
+
+EAPI=2
+inherit base
+
+DESCRIPTION="Data recovery tool to fault-tolerantly extract data from damaged (io-errors) devices or files."
+HOMEPAGE="http://safecopy.sourceforge.net"
+SRC_URI="mirror://sourceforge/safecopy/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="test"
+
+RDEPEND=""
+DEPEND="test? ( sys-apps/findutils
+ sys-apps/grep
+ sys-apps/coreutils
+ sys-apps/sed )"
+
+src_prepare() {
+ sed -e 's:bin/sh:bin/bash:' \
+ -i "${S}"/test/test.sh || die "sed failed"
+}
+
+src_configure() {
+ base_src_configure
+ if use test; then
+ cd "${S}"/test/libsafecopydebug
+ econf
+ fi
+}
+
+src_compile() {
+ base_src_compile
+ if use test; then
+ cd "${S}"/test/libsafecopydebug
+ emake || die "Testsuite compilation failed"
+ fi
+}
+
+src_install() {
+ base_src_install
+ dodoc README || die "copying documentation failed"
+}
+
+src_test() {
+ cd "${S}"/test
+ ./test.sh || die "./tesh.sh failed"
+}