xz.sh (614B)
- #!/bin/sh
- set -ex
- die() {
- echo "die: $@"
- exit 1
- }
- # pdpmake: (Makefile:480): recursive macro am__v_lt_
- # pdpmake: (Makefile:451): failed to build 'clean-recursive' exit 1
- # pdpmake: (Makefile:646): failed to build 'clean-recursive' exit 1
- # Works with GNU make and bmake
- command -v make || die "Run /bootstrap-make.sh"
- tar xof /distfiles/xz-*.tar.gz
- cd xz-*/
- export LD="tcc"
- # --disable-symbol-versions: tcc 0.9.28rc doesn't supports .symver
- ./configure --prefix=/usr --disable-dependency-tracking --disable-symbol-versions --disable-shared
- make clean
- make
- make install INSTALL=install
- cd ..
- rm -fr xz-*/