version 1.4.2.2, 2011/10/21 08:01:15
|
version 1.5.2.3, 2011/11/01 21:38:11
|
Line 10
|
Line 10
|
CMD=$1 |
CMD=$1 |
MK=${2:-make} |
MK=${2:-make} |
P=${3:-/tmp} |
P=${3:-/tmp} |
|
B=$4 |
PFX="--prefix ${P}" |
PFX="--prefix ${P}" |
shift; shift; shift; | shift; shift; shift; shift; |
echo ">>> Working script ${MK} into ${PFX}" |
echo ">>> Working script ${MK} into ${PFX}" |
|
|
|
if [ -n "${B}" ]; then |
|
PFX="${PFX} --build ${B}" |
|
fi |
|
|
TOP=$(pwd) |
TOP=$(pwd) |
echo ">>> TOPDIR=${TOP}" |
echo ">>> TOPDIR=${TOP}" |
|
|
Line 23 case $CMD in
|
Line 28 case $CMD in
|
# [ ! -r config.log ] && \ |
# [ ! -r config.log ] && \ |
./configure --sysconfdir=/etc --libexecdir=/usr/libexec --with-ignore-dot \ |
./configure --sysconfdir=/etc --libexecdir=/usr/libexec --with-ignore-dot \ |
--with-tty-tickets --with-env-editor --with-logincap \ |
--with-tty-tickets --with-env-editor --with-logincap \ |
--with-long-otp-prompt --with-pam --with-logfac=local2 ${PFX} | --with-long-otp-prompt --with-pam --with-logfac=local2 \ |
| ${PFX} |
${MK} clean |
${MK} clean |
${MK} |
${MK} |
install src/sudo ${P}/bin |
install src/sudo ${P}/bin |
Line 402 case $CMD in
|
Line 408 case $CMD in
|
./configure --enable-utf8 --enable-unicode-properties ${PFX} |
./configure --enable-utf8 --enable-unicode-properties ${PFX} |
${MK} clean |
${MK} clean |
${MK} |
${MK} |
${MK} install | install .libs/libpcre.so.* ${P}/lib |
| install .libs/libpcreposix.so.* ${P}/lib |
| install .libs/libpcrecpp.so.* ${P}/lib |
| rm -f ${P}/lib/libpcrecpp.so*T ${P}/lib/libpcreposix.so*T |
echo ">>> Now rebuild elwix firmware image ..." |
echo ">>> Now rebuild elwix firmware image ..." |
;; |
;; |
spawn-fcgi) |
spawn-fcgi) |
Line 429 case $CMD in
|
Line 438 case $CMD in
|
./configure --without-python ${PFX} |
./configure --without-python ${PFX} |
${MK} clean |
${MK} clean |
${MK} |
${MK} |
# ${MK} install | install .libs/libxml2.so.* ${P}/lib |
cd .. |
cd .. |
cd php |
cd php |
# [ ! -r config.log ] && \ |
# [ ! -r config.log ] && \ |