Magellan Linux

Annotation of /branches/R11-stable/core/gzip/gzip-1.6-r1.smage2

Parent Directory Parent Directory | Revision Log Revision Log


Revision 17765 - (hide annotations) (download)
Wed Jun 26 12:27:49 2013 UTC (10 years, 11 months ago) by niro
File size: 983 byte(s)
-release branches/R11-stable
1 niro 17349 # $Id$
2    
3     PNAME="gzip"
4     PVER="1.6"
5     PBUILD="r1"
6    
7     PCAT="app-arch"
8    
9    
10     DESCRIPTION="Standard GNU compressor."
11     HOMEPAGE="http://www.gnu.org/software/gzip/gzip.html"
12    
13     DEPEND=">= virtual/glibc"
14     PROVIDE="virtual/gzip"
15    
16     SRCFILE="${PNAME}-${PVER}.tar.gz"
17     SRCDIR="${BUILDDIR}/${PNAME}-${PVER}"
18    
19     sminclude mbuild mtools
20     msetfeature "!check"
21    
22     SRC_URI=(
23     gnu://${PNAME}/${SRCFILE}
24     mirror://${PNAME}/${SRCFILE}
25     )
26    
27     UP2DATE="updatecmd_gnu ${PNAME} gz"
28    
29     src_prepare()
30     {
31     munpack ${SRCFILE} || die
32     cd ${SRCDIR}
33    
34     # fix compilation with newer glibc (>=2.6.1)
35     sed -i "s/futimens/gl_&/" $(grep -lr futimens *) || die
36 niro 17350
37     # force reconf
38     # aclocal.m4 was created with an unreleased automake (1.99a)
39     WANT_AUTOMAKE=1.13 mautoreconf || die
40 niro 17349 }
41    
42     src_install()
43     {
44     cd ${SRCDIR}
45     make DESTDIR=${BINDIR} install || die
46    
47     # missing: gzcat
48     mlink zcat /usr/bin/gzcat || die
49    
50     # and the docs too
51     minstalldocs \
52     AUTHORS COPYING ChangeLog INSTALL NEWS README \
53     README-alpha THANKS TODO algorithm.doc gzip.doc || die
54     }