From: | "Tomas Chvatal (scarabeus)" <scarabeus@g.o> |
---|---|
To: | gentoo-commits@l.g.o |
Subject: | [gentoo-commits] gentoo-x86 commit in sys-fs/safecopy: safecopy-1.6.ebuild ChangeLog safecopy-1.5.ebuild |
Date: | Wed, 05 Jan 2011 09:58:02 |
Message-Id: | 20110105095752.2044620051@flycatcher.gentoo.org |
1 | scarabeus 11/01/05 09:57:52 |
2 | |
3 | Modified: ChangeLog |
4 | Added: safecopy-1.6.ebuild |
5 | Removed: safecopy-1.5.ebuild |
6 | Log: |
7 | Version bump. Drop old. Fixes bug 338068. |
8 | |
9 | (Portage version: 2.2.0_alpha12/cvs/Linux x86_64) |
10 | |
11 | Revision Changes Path |
12 | 1.6 sys-fs/safecopy/ChangeLog |
13 | |
14 | file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-fs/safecopy/ChangeLog?rev=1.6&view=markup |
15 | plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-fs/safecopy/ChangeLog?rev=1.6&content-type=text/plain |
16 | diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-fs/safecopy/ChangeLog?r1=1.5&r2=1.6 |
17 | |
18 | Index: ChangeLog |
19 | =================================================================== |
20 | RCS file: /var/cvsroot/gentoo-x86/sys-fs/safecopy/ChangeLog,v |
21 | retrieving revision 1.5 |
22 | retrieving revision 1.6 |
23 | diff -u -r1.5 -r1.6 |
24 | --- ChangeLog 29 Jul 2009 22:44:56 -0000 1.5 |
25 | +++ ChangeLog 5 Jan 2011 09:57:51 -0000 1.6 |
26 | @@ -1,6 +1,12 @@ |
27 | # ChangeLog for sys-fs/safecopy |
28 | -# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 |
29 | -# $Header: /var/cvsroot/gentoo-x86/sys-fs/safecopy/ChangeLog,v 1.5 2009/07/29 22:44:56 scarabeus Exp $ |
30 | +# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 |
31 | +# $Header: /var/cvsroot/gentoo-x86/sys-fs/safecopy/ChangeLog,v 1.6 2011/01/05 09:57:51 scarabeus Exp $ |
32 | + |
33 | +*safecopy-1.6 (05 Jan 2011) |
34 | + |
35 | + 05 Jan 2011; Tomáš Chvátal <scarabeus@g.o> -safecopy-1.5.ebuild, |
36 | + +safecopy-1.6.ebuild: |
37 | + Version bump. Drop old. Fixes bug 338068. |
38 | |
39 | *safecopy-1.5 (29 Jul 2009) |
40 | |
41 | |
42 | |
43 | |
44 | 1.1 sys-fs/safecopy/safecopy-1.6.ebuild |
45 | |
46 | file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-fs/safecopy/safecopy-1.6.ebuild?rev=1.1&view=markup |
47 | plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-fs/safecopy/safecopy-1.6.ebuild?rev=1.1&content-type=text/plain |
48 | |
49 | Index: safecopy-1.6.ebuild |
50 | =================================================================== |
51 | # Copyright 1999-2011 Gentoo Foundation |
52 | # Distributed under the terms of the GNU General Public License v2 |
53 | # $Header: /var/cvsroot/gentoo-x86/sys-fs/safecopy/safecopy-1.6.ebuild,v 1.1 2011/01/05 09:57:51 scarabeus Exp $ |
54 | |
55 | EAPI=3 |
56 | |
57 | inherit base |
58 | |
59 | DESCRIPTION="Data recovery tool to fault-tolerantly extract data from damaged (io-errors) devices or files." |
60 | HOMEPAGE="http://safecopy.sourceforge.net" |
61 | SRC_URI="mirror://sourceforge/safecopy/${P}.tar.gz" |
62 | |
63 | LICENSE="GPL-2" |
64 | SLOT="0" |
65 | KEYWORDS="~amd64 ~x86" |
66 | IUSE="test" |
67 | |
68 | RDEPEND="" |
69 | DEPEND="" |
70 | |
71 | src_prepare() { |
72 | sed -e 's:bin/sh:bin/bash:' \ |
73 | -i "${S}"/test/test.sh || die "sed failed" |
74 | } |
75 | |
76 | src_configure() { |
77 | base_src_configure |
78 | if use test; then |
79 | cd "${S}"/simulator |
80 | econf |
81 | fi |
82 | } |
83 | |
84 | src_compile() { |
85 | base_src_compile |
86 | if use test; then |
87 | cd "${S}"/simulator |
88 | emake || die "Simulator compilation failed -- needed for testing" |
89 | fi |
90 | } |
91 | |
92 | src_install() { |
93 | base_src_install |
94 | dodoc README || die "copying documentation failed" |
95 | } |
96 | |
97 | src_test() { |
98 | cd "${S}"/test |
99 | ./test.sh || die "./tesh.sh failed" |
100 | } |