git.sh (368B)
- #!/bin/sh
- set -ex
- die() {
- echo "die: $@"
- exit 1
- }
- command -v make || die "Run /bootstrap-make.sh"
- command -v curl || die "Run /bootstrap-tiny-curl.sh"
- command -v msgfmt || die "Run /bootstrap-gettext-tiny.sh"
- tar xof /distfiles/git-*.tar.gz
- cd git-*/
- LD=$CC ./configure --prefix=/usr --with-curl
- unset MAKE
- make
- make install INSTALL=install
- cd ..
- rm -fr git-*/