aboutsummaryrefslogtreecommitdiffstats
path: root/chapter6/xz.sh
blob: 7515350c6c20746c8d125a7bad13c3b377c3c943 (plain)
1
2
3
4
5
6
7
8
9
10
./configure --prefix=/usr \
            --host=${LFS_TGT} \
            --build=$(build-aux/config.guess) \
            --disable-static \
            --docdir=/usr/share/doc/xz-5.2.5 &&
make &&
make DESTDIR=${LFS} -j1 install
mv -v ${LFS}/usr/bin/{lzma,unlzma,lzcat,xz,unxz,xzcat}  ${LFS}/bin &&
mv -v ${LFS}/usr/lib/liblzma.so.*                       ${LFS}/lib &&
ln -svf ../../lib/$(readlink ${LFS}/usr/lib/liblzma.so) ${LFS}/usr/lib/liblzma.so