sys-fs/ddrescue: add 1.28
This commit is contained in:
parent
b7af65fa3a
commit
7ca63724b6
1
sys-fs/ddrescue/Manifest
Normal file
1
sys-fs/ddrescue/Manifest
Normal file
@ -0,0 +1 @@
|
|||||||
|
DIST ddrescue-1.28.tar.lz 93823 BLAKE2B 8c212f0d495e0df8e0398b97730c812ea9ccb77bd42e730198222e9918e3652fc52d932449b1e0dc9bdd453a123e2450c962e33e98d9845ce81b9a934a5bbdaa SHA512 ad3df2361b3b0228e2875792e0f6b301dc4d9cefd3f4fcdbce180a53c32924ee026bd27397b8efc94f40ee10f5f9d453fa72bd19203b6cb90208881e287e2c46
|
38
sys-fs/ddrescue/ddrescue-1.28.ebuild
Normal file
38
sys-fs/ddrescue/ddrescue-1.28.ebuild
Normal file
@ -0,0 +1,38 @@
|
|||||||
|
# Copyright 1999-2023 Gentoo Authors
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
|
EAPI=8
|
||||||
|
|
||||||
|
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 ~arm64 ~ia64 ~ppc ~ppc64 ~riscv ~sparc ~x86 ~amd64-linux"
|
||||||
|
IUSE="static"
|
||||||
|
|
||||||
|
BDEPEND="$(unpacker_src_uri_depends)"
|
||||||
|
|
||||||
|
src_configure() {
|
||||||
|
use static && append-ldflags -static
|
||||||
|
|
||||||
|
# not a normal configure script
|
||||||
|
econf \
|
||||||
|
--prefix="${EPREFIX}"/usr \
|
||||||
|
CXX="$(tc-getCXX)" \
|
||||||
|
CPPFLAGS="${CPPFLAGS}" \
|
||||||
|
CXXFLAGS="${CXXFLAGS}" \
|
||||||
|
LDFLAGS="${LDFLAGS}"
|
||||||
|
}
|
||||||
|
|
||||||
|
src_test() {
|
||||||
|
./testsuite/check.sh "${S}"/testsuite || die
|
||||||
|
}
|
||||||
|
|
||||||
|
src_install() {
|
||||||
|
emake DESTDIR="${D}" install install-man
|
||||||
|
einstalldocs
|
||||||
|
}
|
Loading…
Reference in New Issue
Block a user