source: gs2-extensions/gnome-lib/branches/macos-dev/src/packages/CASCADE-MAKE/PCRE.sh@ 34551

Last change on this file since 34551 was 34551, checked in by ak19, 3 years ago

Can't assume PCRE is already installed on the system, and it needs to be compile before GLIB. Also found PCRE has to be configured with unicode support on. Some additional tweaking CFLAG/LDFLAG and associated environment variables needed to GLIB could see the cascade-make compiles libffi and libpcre

  • Property svn:executable set to *
File size: 845 bytes
Line 
1#!/bin/bash
2
3package=pcre
4version=-8.44
5
6progname=$0
7
8source ../cascade-make/lib/cascade-lib.bash GEXTGNOME ../.. $*
9
10prefix=$GEXTGNOME_INSTALLED
11
12export CFLAGS="$CFLAGS -I$GEXTGNOME_INSTALLED/include"
13export CPPFLAGS="$CPPFLAGS -I$GEXTGNOME_INSTALLED/include"
14export CXXFLAGS="$CXXFLAGS -I$GEXTGNOME_INSTALLED/include"
15export LDFLAGS="$LDFLAGS -L$GEXTGNOME_INSTALLED/lib"
16
17echo GSDLOS = $GSDLOS
18
19opt_run_untar $force_untar $auto_untar $package $version
20opt_run_configure $force_config $auto_config $package $version $prefix \
21 --enable-utf --enable-unicode-properties \
22 --enable-static --disable-shared
23
24opt_run_make $compile $package $version
25opt_run_make $install $package $version "install"
26opt_run_make $clean $package $version "clean"
27opt_run_make $distclean $package $version "distclean"
28
29opt_run_tarclean $tarclean $package $version
30
Note: See TracBrowser for help on using the repository browser.