Estimated build time: 0.1 SBU Estimated required disk space: 2.6 MB |
(Last checked against version 1.3.5.)
The Gzip package contains programs to compress and decompress files using the Lempel-Ziv coding (LZ77).
Installed programs: gunzip (link to gzip), gzexe, gzip, uncompress (link to gunzip), zcat (link to gzip), zcmp, zdiff, zegrep, zfgrep, zforce, zgrep, zless, zmore and znew
(Last checked against version 1.2.4a.)
Bash: sh
Binutils: as, ld, nm
Coreutils: cat, chmod, cp, hostname, install, ln, mv, rm, tr
GCC: cc1, collect2, cpp, gcc
Grep: egrep, grep
Make: make
Sed: sed
Prepare Gzip for compilation:
./configure --prefix=/usr |
The gzexe program has the location of the gzip binary hard-wired into it. Because we later change the location of this binary, the following command will place the new location into the gzexe binary.
cp gzexe.in{,.backup} sed 's%"BINDIR"%/bin%' gzexe.in.backup > gzexe.in |
Compile the package:
make |
Install the package:
make install |
And move the programs to the /bin directory:
mv /usr/bin/gzip /bin rm /usr/bin/{gunzip,zcat} ln -s gzip /bin/gunzip ln -s gzip /bin/zcat ln -s gunzip /bin/uncompress |