Contents of /trunk/core/gzip/gzip-1.3.12-r3.smage2
Parent Directory | Revision Log
Revision 119 -
(show annotations)
(download)
Tue Oct 14 11:34:26 2008 UTC (15 years, 11 months ago) by niro
File size: 1166 byte(s)
Tue Oct 14 11:34:26 2008 UTC (15 years, 11 months ago) by niro
File size: 1166 byte(s)
-rev bump to 1.3.12-r3
1 | # $Header: /magellan-cvs/smage/gzip/gzip-1.3.12-r2.smage2,v 1.1 2008/03/25 14:22:03 niro Exp $ |
2 | |
3 | PNAME="gzip" |
4 | PVER="1.3.12" |
5 | PBUILD="r3" |
6 | |
7 | PCATEGORIE="app-arch" |
8 | STATE="unstable" |
9 | |
10 | DESCRIPTION="Standard GNU compressor." |
11 | HOMEPAGE="http://www.gnu.org/software/gzip/gzip.html" |
12 | |
13 | DEPEND=">= virtual/glibc" |
14 | |
15 | SRCFILE="${PNAME}-${PVER}.tar.gz" |
16 | SRCDIR="${BUILDDIR}/${PNAME}-${PVER}" |
17 | |
18 | sminclude mbuild mtools |
19 | |
20 | SRC_URI=( |
21 | gnu://${PNAME}/${SRCFILE} |
22 | mirror://${PNAME}/${SRCFILE} |
23 | ) |
24 | |
25 | UP2DATE="updatecmd_gnu ${PNAME} gz" |
26 | |
27 | src_prepare() |
28 | { |
29 | munpack ${SRCFILE} || die |
30 | cd ${SRCDIR} |
31 | |
32 | # fix compilation with newer glibc (>=2.6.1) |
33 | sed -i "s/futimens/gl_&/" $(grep -lr futimens *) || die |
34 | } |
35 | |
36 | src_install() |
37 | { |
38 | cd ${SRCDIR} |
39 | |
40 | # needed directories |
41 | minstalldir /bin || die |
42 | |
43 | make DESTDIR=${BINDIR} install || die |
44 | |
45 | # move some binaries to /bin |
46 | mv ${BINDIR}{/usr,}/bin/gzip || die |
47 | mv ${BINDIR}{/usr,}/bin/gunzip || die |
48 | mv ${BINDIR}{/usr,}/bin/zcat || die |
49 | mv ${BINDIR}{/usr,}/bin/uncompress || die |
50 | |
51 | # missing: gzcat |
52 | mlink zcat /bin/gzcat || die |
53 | |
54 | # and the docs too |
55 | minstalldocs \ |
56 | AUTHORS COPYING ChangeLog INSTALL NEWS README \ |
57 | README-alpha THANKS TODO algorithm.doc gzip.doc || die |
58 | } |
Properties
Name | Value |
---|---|
svn:keywords | Id |