Mercurial > hg > control-images
view images/lfs-bootstrap/mnt/build/bzip2.sh @ 40:ef471ef37665 draft default tip
Yank reliance on ash.
author | Rob Landley <rob@landley.net> |
---|---|
date | Sat, 18 Jul 2015 01:39:24 -0500 |
parents | bcd2e358d57f |
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