# Copyright 1999-2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 # $Id: 376a342bae0c603a57f2e7f121fe4f76d0b894c1 $ EAPI=8 VERIFY_SIG_OPENPGP_KEY_PATH=/usr/share/openpgp-keys/gzip.asc inherit flag-o-matic verify-sig DESCRIPTION="Standard GNU compressor" HOMEPAGE="https://www.gnu.org/software/gzip/" if [[ ${PV} == *_p* ]] ; then # Note: could put this in devspace, but if it's gone, we don't want # it in tree anyway. It's just for testing. MY_SNAPSHOT="$(ver_cut 1-2).31-7553" SRC_URI=" https://meyering.net/gzip/gzip-${MY_SNAPSHOT}.tar.xz -> ${P}.tar.xz verify-sig? ( https://meyering.net/gzip/gzip-${MY_SNAPSHOT}.tar.xz.sig -> ${P}.tar.xz.sig ) " S="${WORKDIR}"/${PN}-${MY_SNAPSHOT} else SRC_URI=" mirror://gnu/gzip/${P}.tar.xz verify-sig? ( mirror://gnu/gzip/${P}.tar.xz.sig ) " fi LICENSE="GPL-3+" SLOT="0" if [[ ${PV} != *_p* ]] ; then KEYWORDS="~alpha amd64 arm arm64 hppa ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux ~arm64-macos ~ppc-macos ~x64-macos ~x64-solaris" fi IUSE="pic static" BDEPEND="verify-sig? ( sec-keys/openpgp-keys-gzip )" RDEPEND="!