1 |
commit: c3c8403aa40e0f10b20f7ec2520bab23b0cc9447 |
2 |
Author: Lars Wendler <polynomial-c <AT> gentoo <DOT> org> |
3 |
AuthorDate: Fri Feb 16 19:23:31 2018 +0000 |
4 |
Commit: Lars Wendler <polynomial-c <AT> gentoo <DOT> org> |
5 |
CommitDate: Fri Feb 16 19:23:53 2018 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c3c8403a |
7 |
|
8 |
sys-fs/ddrescue: Bump to version 1.23 |
9 |
|
10 |
Package-Manager: Portage-2.3.24, Repoman-2.3.6 |
11 |
|
12 |
sys-fs/ddrescue/Manifest | 1 + |
13 |
sys-fs/ddrescue/ddrescue-1.23.ebuild | 39 ++++++++++++++++++++++++++++++++++++ |
14 |
2 files changed, 40 insertions(+) |
15 |
|
16 |
diff --git a/sys-fs/ddrescue/Manifest b/sys-fs/ddrescue/Manifest |
17 |
index 0a24efd559d..1549c92fa64 100644 |
18 |
--- a/sys-fs/ddrescue/Manifest |
19 |
+++ b/sys-fs/ddrescue/Manifest |
20 |
@@ -1,2 +1,3 @@ |
21 |
DIST ddrescue-1.21.tar.lz 74716 BLAKE2B 0f50c05d20ad74dc7b3d1db5038f6707b0d2a569d880af24a8623712dc89e207faac096031a43de10acec66a1e862049b726de3c05f30c51232817a56fc5643d SHA512 6b8fddc621af90acc90e54c8688ea5d18721ea922b4433f2ed76f44bbaf5bd90b560b380c02a133fa7f67da85436d058861820eeeb46bbb7d3ef53821c0de079 |
22 |
DIST ddrescue-1.22.tar.lz 80050 BLAKE2B c455bf847749dc29565d02efef8b24f1a322e8069b51821ef9ebf7f6bbc650241ad76dadaf60e7daf92c55c2ae9e7d27b107e734404538e78678e1f2ac147e97 SHA512 3e5236374e2c1baae40026f59cf7040414d798a48d4edd6c6bde919e658ca958a795421301439ab2b8aa9f1d8fc60a2fff84b26e22a350e4150850b9830ce754 |
23 |
+DIST ddrescue-1.23.tar.lz 82451 BLAKE2B ed9d71894d4c8466e3ca56d853ae5a6c4f7cf1955bea4468c158674e7bf6386343ab8289714be7ebb6b326f462e53fc7e9d8122a26079267ab4324f60c8fc4b8 SHA512 4f0b27067966b71efaae809d4f38714863cf3663f3b8c3f26055d482debb15c0fab77752411a9d242f18dbb8e4edc68494f866721dae9c95cfc5354439eaa656 |
24 |
|
25 |
diff --git a/sys-fs/ddrescue/ddrescue-1.23.ebuild b/sys-fs/ddrescue/ddrescue-1.23.ebuild |
26 |
new file mode 100644 |
27 |
index 00000000000..7d08213d812 |
28 |
--- /dev/null |
29 |
+++ b/sys-fs/ddrescue/ddrescue-1.23.ebuild |
30 |
@@ -0,0 +1,39 @@ |
31 |
+# Copyright 1999-2018 Gentoo Foundation |
32 |
+# Distributed under the terms of the GNU General Public License v2 |
33 |
+ |
34 |
+EAPI=6 |
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 ~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 |
+} |