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

Last change on this file since 31804 was 31804, checked in by ak19, 7 years ago

Not sure why I can't get the patched up libiconv to work with the gs- prefix, but trying for now without the prefix. Also updated the packages/README.TXT to mention that there's another gs- prefixed package (libxml), though I'm unable to track any record of the changes that were made to it for GS.

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