Mercurial > hg > aboriginal
diff sources/control-images/lfs-bootstrap/mnt/build/bzip2.sh @ 1288:c054a7a36cd9
Add rather a lot of Linux From Scratch 6.7 building infrastructure. Needs a bit more debugging.
author | Rob Landley <rob@landley.net> |
---|---|
date | Wed, 17 Nov 2010 22:09:19 -0600 |
parents | |
children |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/sources/control-images/lfs-bootstrap/mnt/build/bzip2.sh Wed Nov 17 22:09:19 2010 -0600 @@ -0,0 +1,14 @@ +#!/bin/sh + +# Use relative paths when installing symlinks, not absolute paths. +sed -i 's@\(ln -s -f \)$(PREFIX)/bin/@\1@' Makefile && + +# The extra song and dance is to install the shared library, and +# make the bzip2 binary use it. + +make -f Makefile-libbz2_so && +make clean && +make && +make PREFIX=/usr install && +cp bzip2-shared /bin/bzip2 && +cp -a libbz2.so* /lib