diff options
Diffstat (limited to 'sys-fs/safecopy')
-rw-r--r-- | sys-fs/safecopy/Manifest | 2 | ||||
-rw-r--r-- | sys-fs/safecopy/safecopy-1.7.ebuild | 28 |
2 files changed, 7 insertions, 23 deletions
diff --git a/sys-fs/safecopy/Manifest b/sys-fs/safecopy/Manifest index 32f68270d29d..330cfd5a3dcf 100644 --- a/sys-fs/safecopy/Manifest +++ b/sys-fs/safecopy/Manifest @@ -1,3 +1,3 @@ DIST safecopy-1.7.tar.gz 398465 BLAKE2B f51a164e4213441e497fc7be3f39eacd1aa8ee8064a3ad777c835e9a605eb6d6f0076b655e7a0f699be2682af59d5f61c8c33dd4c166a795fdec4a654651b216 SHA512 ecba54ecc0e0dc13dd6339f8c8dc311fc3ad41ef23318c1aa2a7f6bb7f1529389bedf7b58ea72486c083d39032a6e4a775e5a555a1ff96c669fa7fbd6c1fb868 -EBUILD safecopy-1.7.ebuild 752 BLAKE2B bab1efb2e4c3b6447d897718a51a0ef3aa2052acefaa84df6dd6d4203fcbd4638096b615d61221552baf96efde3c70692008cb8bf94046fb7976f19fab1e8d73 SHA512 8ec30e0ba7c954e1f5dbe256f4978190a7bd964dc479126d3804816cf17bb6231edd8ea73cbfff2d405f04d66123a41fbf604aee5a1cf819c0c3cf1e8fcc3a22 +EBUILD safecopy-1.7.ebuild 582 BLAKE2B f97fbe3208bd920b106877bc0839355d8b1cbf20910cd421a3ba03ba769850a13212330c68373e336a5ce55f318a4c943c9a50b68bbba7e3476792f691d26cd0 SHA512 dff7f4cbae0396463fae8cf9a79176faf3048354c3407e29a1f445f309823043737c9ab05b8593794a4b7f48d0f63e7d3b9120e6bfda1ef9d4036b99b9fc1e2d MISC metadata.xml 615 BLAKE2B 296bc37f029c836bf495b07a3cf4113d7aca9e9b4d90292c2efa1f9ef14d562dbf6a87261362de774418eb66afa86b5ac23d2c091ac7a62599caece5f152f0cb SHA512 19be4af38e35c1ddc44b6d4429011cf0888713bf6ee3a3cd05b52ae24578f9eb486fb176733b1916a39521e2055e5d6072288bdf3a417f5c4c4514675ecb6112 diff --git a/sys-fs/safecopy/safecopy-1.7.ebuild b/sys-fs/safecopy/safecopy-1.7.ebuild index dbfe2a87a2aa..ea11400db323 100644 --- a/sys-fs/safecopy/safecopy-1.7.ebuild +++ b/sys-fs/safecopy/safecopy-1.7.ebuild @@ -1,9 +1,7 @@ -# Copyright 1999-2019 Gentoo Authors +# Copyright 1999-2020 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI=4 - -inherit base +EAPI=7 DESCRIPTION="Tool for fault-tolerant data recovery from damaged (io-errors) devices or files" HOMEPAGE="http://safecopy.sourceforge.net" @@ -15,34 +13,20 @@ KEYWORDS="amd64 x86" IUSE="test" RESTRICT="!test? ( test )" -RDEPEND="" -DEPEND="" - DOCS=( README ) -src_prepare() { - base_src_prepare - sed -e 's:bin/sh:bin/bash:' \ - -i "${S}"/test/test.sh || die -} - src_configure() { econf - if use test; then - cd "${S}"/simulator - econf - fi + cd simulator || die + use test && econf } src_compile() { emake - if use test; then - cd "${S}"/simulator - emake - fi + use test && emake -C simulator } src_test() { - cd "${S}"/test + cd test || die ./test.sh || die } |