/[gentoo-x86]/app-arch/gzip/gzip-1.5.ebuild
Gentoo

Contents of /app-arch/gzip/gzip-1.5.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.9 - (show annotations) (download)
Sat Jan 18 01:18:08 2014 UTC (6 months, 1 week ago) by vapier
Branch: MAIN
CVS Tags: HEAD
Changes since 1.8: +3 -3 lines
Add arm64 love.

(Portage version: 2.2.8/cvs/Linux x86_64, signed Manifest commit with key D2E96200)

1 # Copyright 1999-2014 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/app-arch/gzip/gzip-1.5.ebuild,v 1.8 2012/09/09 15:56:45 armin76 Exp $
4
5 inherit eutils flag-o-matic unpacker
6
7 DESCRIPTION="Standard GNU compressor"
8 HOMEPAGE="http://www.gnu.org/software/gzip/"
9 SRC_URI="mirror://gnu-alpha/gzip/${P}.tar.xz
10 mirror://gnu/gzip/${P}.tar.xz
11 mirror://gentoo/${P}.tar.xz"
12
13 LICENSE="GPL-3"
14 SLOT="0"
15 KEYWORDS="alpha amd64 arm arm64 hppa ia64 m68k ~mips ppc ppc64 s390 sh sparc x86 ~amd64-fbsd ~sparc-fbsd ~x86-fbsd"
16 IUSE="nls pic static"
17
18 RDEPEND=""
19 DEPEND="${RDEPEND}
20 nls? ( sys-devel/gettext )"
21
22 src_unpack() {
23 unpacker
24 cd "${S}"
25 #epatch "${FILESDIR}"/${PN}-1.3.5-rsync.patch
26 epatch "${FILESDIR}"/${PN}-1.3.8-install-symlinks.patch
27 }
28
29 src_compile() {
30 use static && append-flags -static
31 # avoid text relocation in gzip
32 use pic && export DEFS="NO_ASM"
33 econf || die
34 emake || die
35 }
36
37 src_install() {
38 emake install DESTDIR="${D}" || die
39 dodoc ChangeLog NEWS README THANKS TODO
40 docinto txt
41 dodoc algorithm.doc gzip.doc
42
43 # keep most things in /usr, just the fun stuff in /
44 dodir /bin
45 mv "${D}"/usr/bin/{gunzip,gzip,uncompress,zcat} "${D}"/bin/ || die
46 sed -e 's:/usr::' -i "${D}"/bin/gunzip || die
47 }

  ViewVC Help
Powered by ViewVC 1.1.20