bootstrap-tiny-curl.sh (462B)
- #!/bin/sh
- set -ex
- die() {
- echo "die: $@"
- exit 1
- }
- # pdpmake: (Makefile:374): recursive macro am__v_lt_
- # pdpmake: (Makefile:1299): failed to build 'all-recursive' exit 1
- # Works with gmake and bmake
- command -v make || die "Run /bootstrap-make.sh"
- tar xof /tiny-curl-*.tar.gz
- cd tiny-curl-*/
- LD=$CC ./configure --prefix=/usr --with-bearssl --with-ca-bundle=/usr/share/cacert/cert.pem
- make RANLIB=true
- make install INSTALL=install
- cd ..
- rm -fr tiny-curl-*/