source: gs2-extensions/gsdl-amp/trunk/src/packages/CASCADE-MAKE/CURL.sh@ 28344

Last change on this file since 28344 was 28344, checked in by davidb, 11 years ago

Tweak to settings to cope with 'fussy' CURL source code

  • Property svn:executable set to *
File size: 717 bytes
Line 
1#!/bin/bash
2
3package=curl
4version=-7.30.0
5
6progname=$0
7
8source ../cascade-make/lib/cascade-lib.bash GEXTAMP ../.. $*
9
10prefix=$GEXTAMP_INSTALLED
11
12# CURL configure script is stricter than most, and insists that
13# no C pre-processing flags (such -I/aa/bb/cc) appear in the
14# CFLAGS variable
15export CFLAGS=`echo $CFLAGS | sed 's/-I[^ ]*//g'`
16
17opt_run_untar $force_untar $auto_untar $package $version
18opt_run_configure $force_config $auto_config $package $version $prefix
19
20opt_run_make $compile $package $version
21opt_run_make $install $package $version "install"
22opt_run_make $clean $package $version "clean"
23opt_run_make $distclean $package $version "distclean"
24
25opt_run_tarclean $tarclean $package $version
26
27
28
29
Note: See TracBrowser for help on using the repository browser.