Mercurial > hg > aboriginal
view 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 source
#!/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