Last change
on this file since 23003 was 23003, checked in by sjm84, 13 years ago |
Various changes to the amp extension to make it compatible with having previously installed mysql extension
|
File size:
769 bytes
|
Line | |
---|
1 | #!/bin/bash
|
---|
2 |
|
---|
3 | package=php
|
---|
4 | version=-5.3.2
|
---|
5 |
|
---|
6 | progname=$0
|
---|
7 |
|
---|
8 | source ../cascade-make/lib/cascade-lib.bash
|
---|
9 |
|
---|
10 | prefix=$GEXTAMP_INSTALLED
|
---|
11 | mysqlprefix=
|
---|
12 | if [ "x$COMPILE_UP_MYSQL" = "x1" ] ; then
|
---|
13 | mysqlprefix=$GEXTAMP_INSTALLED
|
---|
14 | else
|
---|
15 | if [ -n "$GEXTMYSQL_INSTALLED" ] ; then
|
---|
16 | mysqlprefix=$GEXTMYSQL_INSTALLED
|
---|
17 | fi
|
---|
18 | fi
|
---|
19 |
|
---|
20 | opt_run_untar $force_untar $auto_untar $package $version
|
---|
21 |
|
---|
22 | opt_run_configure $force_config $auto_config $package $version $prefix --with-mysql=$mysqlprefix --with-png-dir=$prefix --with-apxs2=$prefix/bin/apxs --with-gd
|
---|
23 |
|
---|
24 | opt_run_make $compile $package $version
|
---|
25 | opt_run_make $install $package $version "install"
|
---|
26 | opt_run_make $clean $package $version "clean"
|
---|
27 | opt_run_make $distclean $package $version "distclean"
|
---|
28 |
|
---|
29 | opt_run_tarclean $tarclean $package $version
|
---|
Note:
See
TracBrowser
for help on using the repository browser.