summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLars Wendler <polynomial-c@gentoo.org>2016-03-18 22:49:28 +0100
committerLars Wendler <polynomial-c@gentoo.org>2016-03-18 22:50:32 +0100
commit35b640fc5f222bc6450b88d36cf9e5da340984e6 (patch)
tree5ee2358c65948adec30d410de6709fe87b89b01c /sys-fs/ddrescue
parentnet-misc/openssh: mark 7.2_p2 arm64/ia64/m68k/s390/sh/sparc stable #576954 (diff)
downloadgentoo-35b640fc5f222bc6450b88d36cf9e5da340984e6.tar.gz
gentoo-35b640fc5f222bc6450b88d36cf9e5da340984e6.tar.bz2
gentoo-35b640fc5f222bc6450b88d36cf9e5da340984e6.zip
sys-fs/ddrescue: Bump to version 1.21
Package-Manager: portage-2.2.28 Signed-off-by: Lars Wendler <polynomial-c@gentoo.org>
Diffstat (limited to 'sys-fs/ddrescue')
-rw-r--r--sys-fs/ddrescue/Manifest1
-rw-r--r--sys-fs/ddrescue/ddrescue-1.21.ebuild43
2 files changed, 44 insertions, 0 deletions
diff --git a/sys-fs/ddrescue/Manifest b/sys-fs/ddrescue/Manifest
index 4a52faf5e834..d2ad60879da6 100644
--- a/sys-fs/ddrescue/Manifest
+++ b/sys-fs/ddrescue/Manifest
@@ -1,3 +1,4 @@
DIST ddrescue-1.18.1.tar.lz 72233 SHA256 58614b4fd32706bd8cd3664349ca9fd0c0488b27a211d829d29e27e4978ba1a9 SHA512 66493da18f0c0cab5ad692ede2debad2376aeec53b23f96c5063d21da362f724370e785bfe38f5495bc57971d5ed428c6da8155b4eafd7d07a94e5a4d0955c96 WHIRLPOOL ec669a3905f6bac77e998e1cfdb609158141d0e53f9a2998662888253c4523f56e8d203af316d79e57b634ef198ef2acc48cb9d161468bdb86c53d301d9f9e84
DIST ddrescue-1.19.tar.lz 68354 SHA256 ed8d0c9d9aac80a9110e9cb0d0a91a7390d3bf9f816b67a62ca4eb140f4747b8 SHA512 e95aab2f07b6759b8846ad2866cb763096d81655fb6fb8a718b5b4842eee4d834162817cbde830d2f7bb5dbbd1509a0d794389462c00679b18b63608ec180984 WHIRLPOOL 20cef1400876355dae7255b8075a026e115ed0f3cc35736b44838850716357aa33b8fc23bce97207b20c13ffe2af2e65be6c434c63814910bf04798788f47f06
DIST ddrescue-1.20.tar.lz 73493 SHA256 83f993b1a167865d76e92e7c1406436331a8b3b337b9868fd6ca1ec2c45460bd SHA512 4caea73cc3a2950c09904dfbd028d4e677b0bdcb0ae63b774d63983dc26336ef37b48c4e05f19206dd8448a6ce41d87d81964db24796cf4f0fc5ac5900199847 WHIRLPOOL 52d3c70161bfc660ddbe41931135cd64a55e753f79be662cffa0a2e80e86afa0ca99600a8a98887762ab06d0483fff50882a67016e43904845d246e4c8e3cf8a
+DIST ddrescue-1.21.tar.lz 74716 SHA256 f09e4eb6a209cbd0fe8ee6db2d558238cdc969afa1d94150f263402ac882e1ac SHA512 6b8fddc621af90acc90e54c8688ea5d18721ea922b4433f2ed76f44bbaf5bd90b560b380c02a133fa7f67da85436d058861820eeeb46bbb7d3ef53821c0de079 WHIRLPOOL 819c4166ba0595514996bebf3540fff091877991db069c177b696a854f9a80cccb47c847c5a179d20dbf8170eb49a03c9cd122b673d706589fa3b53dd1c2996a
diff --git a/sys-fs/ddrescue/ddrescue-1.21.ebuild b/sys-fs/ddrescue/ddrescue-1.21.ebuild
new file mode 100644
index 000000000000..be29daf3fec0
--- /dev/null
+++ b/sys-fs/ddrescue/ddrescue-1.21.ebuild
@@ -0,0 +1,43 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=6
+
+inherit toolchain-funcs flag-o-matic unpacker
+
+DESCRIPTION="Copy data from one file or block device to another with read-error recovery"
+HOMEPAGE="https://www.gnu.org/software/ddrescue/ddrescue.html"
+SRC_URI="mirror://gnu/${PN}/${P}.tar.lz"
+
+LICENSE="GPL-2+"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~ia64 ~ppc ~sparc ~x86 ~amd64-linux"
+IUSE="static"
+
+DEPEND="$(unpacker_src_uri_depends)"
+RDEPEND=""
+
+src_configure() {
+ use static && append-ldflags -static
+
+ # not a normal configure script
+ econf \
+ --prefix="${EPREFIX}"/usr \
+ --enable-linux \
+ CC="$(tc-getCC)" \
+ CXX="$(tc-getCXX)" \
+ CPPFLAGS="${CPPFLAGS}" \
+ CFLAGS="${CFLAGS}" \
+ CXXFLAGS="${CXXFLAGS}" \
+ LDFLAGS="${LDFLAGS}"
+}
+
+src_test() {
+ ./testsuite/check.sh "${S}"/testsuite || die
+}
+
+src_install() {
+ emake DESTDIR="${D}" install install-man
+ dodoc ChangeLog README NEWS AUTHORS
+}