From 2589b2e80e41d105c08bfe6bf3b549ced710ad13 Mon Sep 17 00:00:00 2001 From: malc Date: Sat, 14 Apr 2018 20:38:57 +0300 Subject: [PATCH] Remove this... Until bootstrap.sh is beaten into submission... --- misc/bootstrap.sh | 34 ---------------------------------- 1 file changed, 34 deletions(-) delete mode 100644 misc/bootstrap.sh diff --git a/misc/bootstrap.sh b/misc/bootstrap.sh deleted file mode 100644 index 03743d3..0000000 --- a/misc/bootstrap.sh +++ /dev/null @@ -1,34 +0,0 @@ -#!/bin/sh -set -e - -executable_p() { command -v "$1" >/dev/null 2>&1; } -die() { echo "$1" >&2; exit 1; } - -if executable_p wget; then dl() { wget -q $1 -O $2; } -elif executable_p curl; then dl() { curl $1 -o $2; } -else die "no program to fetch remote urls found" -fi - -mkdir -p bootstrap -prefix=$PWD/bootstrap - -true && { - url=http://caml.inria.fr/pub/distrib/ocaml-4.06/ocaml-4.06.1.tar.xz - xz=$(basename $url) - test -e $xz || dl $url $xz - tar xf $xz - cd ${xz%.tar.xz} - ./configure -prefix $prefix - make -j4 world -s - make install - cd .. -} - -cd .. -test -d mupdf || { - rmudir=$HOME/x/rcs/git/mupdf - test -d $rmudir || ref= && ref="--reference $rmudir" - git clone --recursive $ref git://git.ghostscript.com/mupdf.git - make -C mupdf build=native -j4 libs -} -PATH=$prefix/bin:$PATH sh ./build.sh build-strap -- 2.11.4.GIT