diff options
author | Lars Wendler <polynomial-c@gentoo.org> | 2016-04-27 07:22:54 +0200 |
---|---|---|
committer | Lars Wendler <polynomial-c@gentoo.org> | 2016-04-27 07:22:54 +0200 |
commit | d3810142c60d680d41b393db470552f9239e85e7 (patch) | |
tree | f5a3170f220c04e7589af90fcdb37b20eac49495 | |
parent | 49a4bd14c0bf9c4dfdc4dbe04e2b3598ede9fe74 (diff) | |
download | gentoo-d3810142c60d680d41b393db470552f9239e85e7.tar.gz gentoo-d3810142c60d680d41b393db470552f9239e85e7.tar.xz |
app-arch/gzip: Bump to version 1.8
Package-Manager: portage-2.2.28
Signed-off-by: Lars Wendler <polynomial-c@gentoo.org>
-rw-r--r-- | app-arch/gzip/Manifest | 1 | ||||
-rw-r--r-- | app-arch/gzip/gzip-1.8.ebuild | 45 |
2 files changed, 46 insertions, 0 deletions
diff --git a/app-arch/gzip/Manifest b/app-arch/gzip/Manifest index 784bdcbb59f..17321143f88 100644 --- a/app-arch/gzip/Manifest +++ b/app-arch/gzip/Manifest @@ -1,2 +1,3 @@ DIST gzip-1.6.tar.xz 725084 SHA256 37dfed1a485d53212c43b3fa2a7c7952f09bf5cd86e37121c222341ee1b27847 SHA512 06da599fc38b459d7e9a3f43fdd06d1a0d7b29ad14cb7b6552176bab584a1135bb47ba37a4eb377e6c42c4934d557079ace1e289a252ae192ee154079a62ed01 WHIRLPOOL 7c639d9a57d5f9a820972275c7813ccd76df7a87ad68b00668696aec251b84fd7efb1129205e8a7cd51e40706b718ce3ce71dc9aa6626acf074bcea6f0fe5c39 DIST gzip-1.7.tar.xz 764056 SHA256 fb31c57e7ce7703596ef57329be7cc5c5fd741b4a0f659fea7ee6a54706b41ab SHA512 e28f23738f0d2936773d9b50ea9e46c59945e227a90ca7d8e953fb5a774b8692a3341b744320e924da2d5825117dab730affce506f6fc8e65f0af372f3082539 WHIRLPOOL 5b9b3ce8cae2ec46d9114faf3fcaff03e6ffa1c32a21ba6dc0c58ed2e22191207b484ebba3a407624d6337f47ac2e11110430a703d163f1c7c6378c4fe0ad005 +DIST gzip-1.8.tar.xz 728116 SHA256 ff1767ec444f71e5daf8972f6f8bf68cfcca1d2f76c248eb18e8741fc91dbbd3 SHA512 efd3e2439476054badeb127d9156e24e9252129111219f13fd939596c057b2a96291630b2717181984b391abf249ac8699488bbd01ceeb8a70b121c500b10c55 WHIRLPOOL 490a1f0c157c880a68758a60cc460df525145d6a3bd7567666f194759b471001a29bf409e1628eb86c8d8e598d0c2a0bdd713ed31e5bd17719511aef93361605 diff --git a/app-arch/gzip/gzip-1.8.ebuild b/app-arch/gzip/gzip-1.8.ebuild new file mode 100644 index 00000000000..a6bdcdf07f2 --- /dev/null +++ b/app-arch/gzip/gzip-1.8.ebuild @@ -0,0 +1,45 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 + +inherit eutils flag-o-matic + +DESCRIPTION="Standard GNU compressor" +HOMEPAGE="https://www.gnu.org/software/gzip/" +SRC_URI="mirror://gnu-alpha/gzip/${P}.tar.xz + mirror://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 ~s390 ~sh ~sparc ~x86 ~ppc-aix ~amd64-fbsd ~sparc-fbsd ~x86-fbsd ~x64-freebsd ~x86-freebsd ~hppa-hpux ~ia64-hpux ~x86-interix ~amd64-linux ~ia64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" +IUSE="pic static" + +PATCHES=( + "${FILESDIR}/${PN}-1.3.8-install-symlinks.patch" + "${FILESDIR}/${PN}-1.4-asmv.patch" +) + +src_prepare() { + epatch "${PATCHES[@]}" +} + +src_configure() { + use static && append-flags -static + # avoid text relocation in gzip + use pic && export DEFS="NO_ASM" + econf +} + +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 +} |