source: gs2-extensions/imagemagick/trunk/src/packages/CASCADE-MAKE/LIBICONV.sh@ 30675

Last change on this file since 30675 was 30675, checked in by davidb, 8 years ago

Additional packages, and updates to existing ones after testing on MacOS El Capitain

  • Property svn:executable set to *
File size: 1.1 KB
Line 
1#!/bin/bash
2
3package=libiconv
4version=-1.14
5
6progname=$0
7
8source ../cascade-make/lib/cascade-lib.bash GEXTIMAGEMAGICK ../.. $*
9
10prefix=$GEXTIMAGEMAGICK_INSTALLED
11
12if [ "x$crossOS" = "xandroid" ] ; then
13 # Stops configure generating a local 'stdint.h' in 'srclib' folder
14 # (when this file was generated, caused no end of issues with chaining
15 # standard header files, errors with time_t, pid_t etc)
16 # Fix came from:
17 # http://stackoverflow.com/questions/9053702/building-libiconv-fails-with-the-android-standalone-toolchain
18
19 extra_config_args="gl_cv_header_working_stdint_h=yes"
20else
21 extra_config_args=
22fi
23
24
25opt_run_untar $force_untar $auto_untar $package $version
26opt_run_configure $force_config $auto_config $package $version $prefix \
27 $extra_config_args \
28 --enable-static \
29 --disable-shared \
30
31#export DYLIB_COMPATIBILITY_VERSION=7.0.0
32
33opt_run_make $compile $package $version
34opt_run_make $install $package $version "install"
35opt_run_make $clean $package $version "clean"
36opt_run_make $distclean $package $version "distclean"
37
38opt_run_tarclean $tarclean $package $version
Note: See TracBrowser for help on using the repository browser.