source: gs2-extensions/gsdl-amp/trunk/packages/CASCADE-MAKE/PHP.sh@ 22234

Last change on this file since 22234 was 22234, checked in by sjm84, 14 years ago

Added the cascade make external

File size: 762 bytes
Line 
1#!/bin/bash
2
3package=php
4version=-5.3.2
5
6apache_version=httpd-2.2.15
7
8progname=$0
9
10source ../bin/script/test-setup.bash
11source ../lib/cascade-lib.bash
12
13prefix=$GEXTAMP_INSTALLED
14
15opt_run_untar $force_untar $auto_untar $package $version
16
17opt_run_configure $force_config $auto_config $package $version "$prefix" \
18 "--with-mysql=$prefix \
19 --with-png-dir=$prefix \
20 --with-apxs2=$prefix/bin/apxs \
21 --with-gd"
22
23# --with-apxs2 \
24# --with-apache=../$apache_version \
25# --with-jpeg-dir=/usr/local/ --with-zlib-
26
27
28opt_run_make $compile $package $version
29opt_run_make $install $package $version "install"
30opt_run_make $clean $package $version "clean"
31opt_run_make $distclean $package $version "distclean"
32
33opt_run_tarclean $tarclean $package $version
34
35
36
Note: See TracBrowser for help on using the repository browser.