blob: 4d567c871717fb1495756e93b421e5ed8affd1c2 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
#!/bin/bash
set -e
./configure --prefix=/usr \
--disable-static \
--docdir=/usr/share/doc/xz-"${VERSION}" &&
make &&
make -j1 install &&
mv -v /usr/bin/{lzma,unlzma,lzcat,xz,unxz,xzcat} /bin &&
mv -v /usr/lib/liblzma.so.* /lib &&
ln -svf ../../lib/"$(readlink /usr/lib/liblzma.so)" /usr/lib/liblzma.so
|