diff options
author | Lars Wendler <polynomial-c@gentoo.org> | 2017-02-04 00:13:19 +0100 |
---|---|---|
committer | Lars Wendler <polynomial-c@gentoo.org> | 2017-02-04 00:13:32 +0100 |
commit | 07795b2af12206b6c23746997f3c1e7f4cb539f9 (patch) | |
tree | e983da5c8481881f3b5676f2e9e4821ca9a32bc5 /sys-fs/ddrescue | |
parent | app-emulation/xtrs: Apply user patches in ${S}. (diff) | |
download | gentoo-07795b2af12206b6c23746997f3c1e7f4cb539f9.tar.gz gentoo-07795b2af12206b6c23746997f3c1e7f4cb539f9.tar.bz2 gentoo-07795b2af12206b6c23746997f3c1e7f4cb539f9.zip |
sys-fs/ddrescue: Bump to version 1.22
Package-Manager: Portage-2.3.3, Repoman-2.3.1
Diffstat (limited to 'sys-fs/ddrescue')
-rw-r--r-- | sys-fs/ddrescue/Manifest | 1 | ||||
-rw-r--r-- | sys-fs/ddrescue/ddrescue-1.22.ebuild | 43 |
2 files changed, 44 insertions, 0 deletions
diff --git a/sys-fs/ddrescue/Manifest b/sys-fs/ddrescue/Manifest index f3228ed5e314..0c2528404fb9 100644 --- a/sys-fs/ddrescue/Manifest +++ b/sys-fs/ddrescue/Manifest @@ -1 +1,2 @@ DIST ddrescue-1.21.tar.lz 74716 SHA256 f09e4eb6a209cbd0fe8ee6db2d558238cdc969afa1d94150f263402ac882e1ac SHA512 6b8fddc621af90acc90e54c8688ea5d18721ea922b4433f2ed76f44bbaf5bd90b560b380c02a133fa7f67da85436d058861820eeeb46bbb7d3ef53821c0de079 WHIRLPOOL 819c4166ba0595514996bebf3540fff091877991db069c177b696a854f9a80cccb47c847c5a179d20dbf8170eb49a03c9cd122b673d706589fa3b53dd1c2996a +DIST ddrescue-1.22.tar.lz 80050 SHA256 09857b2e8074813ac19da5d262890f722e5f7900e521a4c60354cef95eea10a7 SHA512 3e5236374e2c1baae40026f59cf7040414d798a48d4edd6c6bde919e658ca958a795421301439ab2b8aa9f1d8fc60a2fff84b26e22a350e4150850b9830ce754 WHIRLPOOL 27df23ea4b470fa3955fa7e4c37e93af35e30bde6e1190106e14048c0b979a2eaf2e411bc928137f151eb8020e4d4df6fb8a894e66500e5edaeaca6a8d2bcd25 diff --git a/sys-fs/ddrescue/ddrescue-1.22.ebuild b/sys-fs/ddrescue/ddrescue-1.22.ebuild new file mode 100644 index 000000000000..dec580af3cad --- /dev/null +++ b/sys-fs/ddrescue/ddrescue-1.22.ebuild @@ -0,0 +1,43 @@ +# Copyright 1999-2017 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 + einstalldocs +} |