1
0

Compare commits

..

2 Commits

Author SHA1 Message Date
7ca63724b6 sys-fs/ddrescue: add 1.28 2024-04-04 16:17:39 +02:00
b7af65fa3a sys-apps/progress: add 0.17 2024-04-04 16:17:19 +02:00
4 changed files with 69 additions and 0 deletions

View File

@ -0,0 +1 @@
DIST progress-0.17.tar.gz 60357 BLAKE2B 27cabd25698ef634630cf61bbeb93b7c0a1defe1f06367ab58555fd02bd45d89576b178f9425169289f19b67b45de3d6b506e8322c23d26c66f91db6b109bd4a SHA512 9c9cb276063069501677457d4808b5386e9d7b21d11bdae5cf5d07fdecaf444199ad27fe0718ec5567dd2388bcb2156fe1ef99ece471173c480e7395965f19f1

View File

@ -0,0 +1,29 @@
# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
inherit toolchain-funcs
DESCRIPTION="Coreutils Viewer: show progress for cp, rm, dd, and so forth"
HOMEPAGE="https://github.com/Xfennec/progress"
SRC_URI="https://github.com/Xfennec/progress/archive/v${PV}.tar.gz -> ${P}.tar.gz"
LICENSE="GPL-3"
SLOT="0"
KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~x86"
RDEPEND="sys-libs/ncurses:="
DEPEND="${RDEPEND}"
BDEPEND="virtual/pkgconfig"
src_prepare() {
default
tc-export CC
}
src_install() {
emake PREFIX="${ED}/usr" install
dodoc README.md
}

1
sys-fs/ddrescue/Manifest Normal file
View File

@ -0,0 +1 @@
DIST ddrescue-1.28.tar.lz 93823 BLAKE2B 8c212f0d495e0df8e0398b97730c812ea9ccb77bd42e730198222e9918e3652fc52d932449b1e0dc9bdd453a123e2450c962e33e98d9845ce81b9a934a5bbdaa SHA512 ad3df2361b3b0228e2875792e0f6b301dc4d9cefd3f4fcdbce180a53c32924ee026bd27397b8efc94f40ee10f5f9d453fa72bd19203b6cb90208881e287e2c46

View 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
}