app-arch/pigz: Sync with Gentoo

It's from Gentoo commit 8ee8f63ef9313e478246cffcd855f0d5e73bc962.
This commit is contained in:
Krzesimir Nowak 2023-01-03 13:12:02 +01:00
parent 5aa67763e2
commit 7ba020ed15
3 changed files with 4 additions and 12 deletions

View File

@ -1 +1 @@
DIST pigz-2.6.tar.gz 106840 BLAKE2B 8e1a8ca593896fc947a7d6ffaa71d9be69d347f7cf1ed2f635b8480aa05708f4679a4768cf3a18ac515ea94dd8352dd4158bd3c9d1b6fdebd82ad1b582d04cba SHA512 04d2e44bc7a7eb061c3c48100ce5b8fc79931aeac72340abd768fd2a4499ff1004e2bc009772fc2003a4c599f6e90f3abc8bef5c377d6397f1c8e9f7c49f95e2
DIST pigz-2.7.tar.gz 108102 BLAKE2B d391522fd6f8eb6918d671fb1c9517034941f3ae8e05ffcd7bece141e6dae110cde1560bad02bd2bcca2f868cdba2a8a16b5606ad6637d40d5ced5ec9bfffcc8 SHA512 9f9f61de4a0307fc057dc4e31a98bd8d706d9e709ecde0be02a871534fddf6a1fe1321158aa72708603aaaece43f83d2423b127f7689b6219b23aea4f989e8f5

View File

@ -10,9 +10,6 @@
is a fully functional replacement for gzip that exploits
multiple processors and multiple cores to the hilt when compressing data.
</longdescription>
<use>
<flag name="symlink">Install symlinks which override <pkg>app-arch/gzip</pkg> implementation</flag>
</use>
<upstream>
<remote-id type="cpe">cpe:/a:zlib:pigz</remote-id>
<remote-id type="github">madler/pigz</remote-id>

View File

@ -1,4 +1,4 @@
# Copyright 1999-2021 Gentoo Authors
# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
@ -11,8 +11,8 @@ SRC_URI="https://www.zlib.net/pigz/${P}.tar.gz"
LICENSE="ZLIB"
SLOT="0"
KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~ppc-macos ~sparc64-solaris"
IUSE="static symlink test"
KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~ppc-macos ~sparc64-solaris"
IUSE="static test"
RESTRICT="!test? ( test )"
LIB_DEPEND="sys-libs/zlib[static-libs(+)]"
@ -31,9 +31,4 @@ src_install() {
dosym ${PN} /usr/bin/un${PN}
dodoc README
doman ${PN}.1
if use symlink; then
dosym ${PN} /usr/bin/gzip
dosym un${PN} /usr/bin/gunzip
fi
}