e2fsprogs.sh (452B)
- #!/bin/sh
- set -ex
- die() {
- echo "die: $@"
- exit 1
- }
- command -v make || die "Run /extras/make.sh"
- tar xof /distfiles/e2fsprogs-*.tar.gz
- cd ./e2fsprogs-*/
- LD=tcc ./configure --disable-nls --disable-backtrace
- # Replace __GNUC_PREREQ calls with 1
- ed lib/ext2fs/rbtree.h <<EOF
- 101
- c
- #if 1
- .
- p
- 179
- c
- #if 1
- .
- w
- q
- EOF
- make clean
- # With pdpmake-2.0.3:
- # pdpmake: don't know how to make all
- make
- make install INSTALL=install
- cd ..
- rm -fr ./e2fsprogs-*/