view tools/build-make.sh @ 4036:e5c0805d9f5f

gdcm: update to 2.4.6, patch of-dicom to work with 2.4.X * src/gdcm.mk: update version ,checksum * src/of-dicom-2-gdcm2.4.patch: new file * dist-files.mk: add of-dicom-2-gdcm2.4.patch
author John D
date Sun, 27 Sep 2015 15:44:30 -0400
parents b7f1e80be561
children a11736295721
line wrap: on
line source

#! /bin/sh

## Run from top-level mxe-octave directory.

set -e

top_dir=`pwd`

make_ver="3.82"
make_dir="make-$make_ver"
make_pkg="$make_dir.tar.gz"

if [ ! -d pkg ]; then
  mkdir pkg
fi

if [ ! -f pkg/$make_pkg ]; then
  wget ftp://ftp.gnu.org/gnu/make/$make_pkg -O pkg/$make_pkg
fi

rm -rf $make_dir

tar zxf pkg/$make_pkg

cd $make_dir

./configure --prefix=$top_dir/usr

make

make install

cd $top_dir

rm -rf $make_dir