diff options
author | Lars Wendler <polynomial-c@gentoo.org> | 2021-09-03 23:34:31 +0200 |
---|---|---|
committer | Lars Wendler <polynomial-c@gentoo.org> | 2021-09-03 23:36:59 +0200 |
commit | f54ce5d34acfa525b0d725333f2a9eb89d18a9c3 (patch) | |
tree | d6cb91f038ffe4dd8bccdd174b8f5c27f5cc1401 /app-arch/gzip | |
parent | dev-util/pkgcheck: Bump to 0.10.7 (diff) | |
download | gentoo-f54ce5d34acfa525b0d725333f2a9eb89d18a9c3.tar.gz gentoo-f54ce5d34acfa525b0d725333f2a9eb89d18a9c3.tar.bz2 gentoo-f54ce5d34acfa525b0d725333f2a9eb89d18a9c3.zip |
app-arch/gzip: Bump to version 1.11
Signed-off-by: Lars Wendler <polynomial-c@gentoo.org>
Diffstat (limited to 'app-arch/gzip')
-rw-r--r-- | app-arch/gzip/Manifest | 1 | ||||
-rw-r--r-- | app-arch/gzip/gzip-1.11.ebuild | 39 |
2 files changed, 40 insertions, 0 deletions
diff --git a/app-arch/gzip/Manifest b/app-arch/gzip/Manifest index 223ecc3c791f..25b7f1c63366 100644 --- a/app-arch/gzip/Manifest +++ b/app-arch/gzip/Manifest @@ -1 +1,2 @@ DIST gzip-1.10.tar.xz 775144 BLAKE2B 431dc0fd11061eabd9db86594777b86510b124b124fd74799eacd67334631af60f638be2638413bee0153a9da35528d0aecc5b5083152c395223705400c9103b SHA512 e6ba9e3906cdb6a6235b213515093d02afa1722686f73eddacbacae628542b586b449829783b6a1701e9b9e0c4d4dfa6845904d3b6b010f5cf21aec4997c9299 +DIST gzip-1.11.tar.xz 804096 BLAKE2B c251066f0bded6a6557a5cbfe5d20090c6446051c31fad610af4f9f7b2537c28fed1cfab424a459452db73b7d1df1361e5aeba163a9e980fc611faf408cac128 SHA512 af297c173297d588722f4d0f140a2ae4d3ea3861464191772fb2e11e47be43644b5ae01ed63f0051d6eb4751666284de53e14c4dd9f0c1d25f61cf676fbf11f3 diff --git a/app-arch/gzip/gzip-1.11.ebuild b/app-arch/gzip/gzip-1.11.ebuild new file mode 100644 index 000000000000..b41b9f810670 --- /dev/null +++ b/app-arch/gzip/gzip-1.11.ebuild @@ -0,0 +1,39 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit flag-o-matic + +DESCRIPTION="Standard GNU compressor" +HOMEPAGE="https://www.gnu.org/software/gzip/" +SRC_URI="mirror://gnu/gzip/${P}.tar.xz + https://alpha.gnu.org/gnu/gzip/${P}.tar.xz + mirror://gentoo/${P}.tar.xz" + +LICENSE="GPL-3" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~x64-cygwin ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" +IUSE="pic static" + +PATCHES=( + "${FILESDIR}/${PN}-1.3.8-install-symlinks.patch" +) + +src_configure() { + use static && append-flags -static + # avoid text relocation in gzip + use pic && export DEFS="NO_ASM" + econf --disable-gcc-warnings #663928 +} + +src_install() { + default + docinto txt + dodoc algorithm.doc gzip.doc + + # keep most things in /usr, just the fun stuff in / + dodir /bin + mv "${ED}"/usr/bin/{gunzip,gzip,uncompress,zcat} "${ED}"/bin/ || die + sed -e "s:${EPREFIX}/usr:${EPREFIX}:" -i "${ED}"/bin/gunzip || die +} |