LHArc was really popular back in the Atari BBS times, but now I just need it to uncompress the original Quake archives for MacOS X QuakeWorld (cache)...
Doesn't seem to be included in Fink, and current source (1.17) don't seem to be available, so I just went to the next Debian mirror and fetched the 1.14i source and the Debian patches.
lha_1.14i.orig.tar.gz
lha_1.14i-10.diff.gz
Unpack and apply the patches:
> gzip -cd ../lha_1.14i-10.diff.gz | patch -p1
The following Makefile variables need to be changed:
MACHINE = -DSYSTIME_HAS_NO_TM -DEUC -DSYSV_SYSTEM_DIR \
-DMKTIME -DMULTIBYTE_CHAR -DHAVE_NO_LCHOWN
OPTIMIZE = -O3 -DSUPPORT_LH7 -DMKSTEMP -mcpu=604
(well, depends on whether you have a G4 CPU or not...)
Then just
> make && sudo make install
The manpage install will fail, as usually there's no /usr/local/man/mann...
Doesn't seem to be included in Fink, and current source (1.17) don't seem to be available, so I just went to the next Debian mirror and fetched the 1.14i source and the Debian patches.
lha_1.14i.orig.tar.gz
lha_1.14i-10.diff.gz
Unpack and apply the patches:
> gzip -cd ../lha_1.14i-10.diff.gz | patch -p1
The following Makefile variables need to be changed:
MACHINE = -DSYSTIME_HAS_NO_TM -DEUC -DSYSV_SYSTEM_DIR \
-DMKTIME -DMULTIBYTE_CHAR -DHAVE_NO_LCHOWN
OPTIMIZE = -O3 -DSUPPORT_LH7 -DMKSTEMP -mcpu=604
(well, depends on whether you have a G4 CPU or not...)
Then just
> make && sudo make install
The manpage install will fail, as usually there's no /usr/local/man/mann...