Annotation of /trunk/core/gzip/gzip-1.10-r1.smage2
Parent Directory | Revision Log
Revision 31898 -
(hide annotations)
(download)
Wed Jan 2 10:10:29 2019 UTC (5 years, 8 months ago) by niro
File size: 984 byte(s)
Wed Jan 2 10:10:29 2019 UTC (5 years, 8 months ago) by niro
File size: 984 byte(s)
auto added: ver bump to 1.10-r1
1 | niro | 31898 | # $Id$ |
2 | |||
3 | PNAME="gzip" | ||
4 | PVER="1.10" | ||
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 | |||
37 | # force reconf | ||
38 | # aclocal.m4 was created with an unreleased automake (1.99a) | ||
39 | WANT_AUTOMAKE=1.13 mautoreconf || die | ||
40 | } | ||
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 | } |