1 |
commit: f38971c404a0affd0cfec6587af9c621281eedc6 |
2 |
Author: Lars Wendler <polynomial-c <AT> gentoo <DOT> org> |
3 |
AuthorDate: Mon Jan 24 06:37:52 2022 +0000 |
4 |
Commit: Lars Wendler <polynomial-c <AT> gentoo <DOT> org> |
5 |
CommitDate: Mon Jan 24 06:39:18 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f38971c4 |
7 |
|
8 |
sys-fs/ddrescue: Bump to version 1.26 |
9 |
|
10 |
Signed-off-by: Lars Wendler <polynomial-c <AT> gentoo.org> |
11 |
|
12 |
sys-fs/ddrescue/Manifest | 1 + |
13 |
sys-fs/ddrescue/ddrescue-1.26.ebuild | 39 ++++++++++++++++++++++++++++++++++++ |
14 |
2 files changed, 40 insertions(+) |
15 |
|
16 |
diff --git a/sys-fs/ddrescue/Manifest b/sys-fs/ddrescue/Manifest |
17 |
index 7f3cd6a0f17a..1c36d597a4b8 100644 |
18 |
--- a/sys-fs/ddrescue/Manifest |
19 |
+++ b/sys-fs/ddrescue/Manifest |
20 |
@@ -1,2 +1,3 @@ |
21 |
DIST ddrescue-1.24.tar.lz 85244 BLAKE2B e8b5ca5c89a65bed6126737125d78b2af9cdd7fe9b20f1f03636d58249d33dc08cb1907eca35c35d3ff81dd031290177084ae5dcc1cac20e79cb6c182cb894e4 SHA512 2c6a86c80bad122e0c44d6f8da49239e10362fbfbdb70acf39055ce02637daa05cce4f24adac732a1bb3a6fc97cf6985dd20827e99ab3bf6bad4db015a00fbaa |
22 |
DIST ddrescue-1.25.tar.lz 87001 BLAKE2B 45054ecb6ca12f8fe27d6b783f7e339fc11a9a3425160012e0682e39644fd3c91362ecd568a2a0b93f9f0af87fae2415b33a7c3fcd8fff2262898e8474818a00 SHA512 90e344a618e385730836218817588f6854db6d1acdf357bf60bdba04c76382e73041dfc367ba4de60062992ee74b2da58417f6e464ffbeed10ec89fac110f4b8 |
23 |
+DIST ddrescue-1.26.tar.lz 91930 BLAKE2B c545499e380587729eb3fcc90a7baf66288348dc88027dfc14401ec72254cc786d8ab7be076a346964327668ff719048dada916c9f1514a765a255f02c5666c7 SHA512 bbe414563d459a1ad1c4e55848214d195e01f8bc455104eddbeff7046623f5bc21d961457d27ace2605d13dff68c7948182706b8afe6755e5c363e8cad86a1cc |
24 |
|
25 |
diff --git a/sys-fs/ddrescue/ddrescue-1.26.ebuild b/sys-fs/ddrescue/ddrescue-1.26.ebuild |
26 |
new file mode 100644 |
27 |
index 000000000000..6bfb7ba4f767 |
28 |
--- /dev/null |
29 |
+++ b/sys-fs/ddrescue/ddrescue-1.26.ebuild |
30 |
@@ -0,0 +1,39 @@ |
31 |
+# Copyright 1999-2022 Gentoo Authors |
32 |
+# Distributed under the terms of the GNU General Public License v2 |
33 |
+ |
34 |
+EAPI=8 |
35 |
+ |
36 |
+inherit toolchain-funcs flag-o-matic unpacker |
37 |
+ |
38 |
+DESCRIPTION="Copy data from one file or block device to another with read-error recovery" |
39 |
+HOMEPAGE="https://www.gnu.org/software/ddrescue/ddrescue.html" |
40 |
+SRC_URI="mirror://gnu/${PN}/${P}.tar.lz" |
41 |
+ |
42 |
+LICENSE="GPL-2+" |
43 |
+SLOT="0" |
44 |
+KEYWORDS="~amd64 ~arm ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux" |
45 |
+IUSE="static" |
46 |
+ |
47 |
+DEPEND="$(unpacker_src_uri_depends)" |
48 |
+RDEPEND="" |
49 |
+ |
50 |
+src_configure() { |
51 |
+ use static && append-ldflags -static |
52 |
+ |
53 |
+ # not a normal configure script |
54 |
+ econf \ |
55 |
+ --prefix="${EPREFIX}"/usr \ |
56 |
+ CXX="$(tc-getCXX)" \ |
57 |
+ CPPFLAGS="${CPPFLAGS}" \ |
58 |
+ CXXFLAGS="${CXXFLAGS}" \ |
59 |
+ LDFLAGS="${LDFLAGS}" |
60 |
+} |
61 |
+ |
62 |
+src_test() { |
63 |
+ ./testsuite/check.sh "${S}"/testsuite || die |
64 |
+} |
65 |
+ |
66 |
+src_install() { |
67 |
+ emake DESTDIR="${D}" install install-man |
68 |
+ einstalldocs |
69 |
+} |