version 1.3.2.1, 2017/06/13 17:39:31
|
version 1.3.2.2, 2017/06/14 14:56:24
|
Line 20 CMD=$1
|
Line 20 CMD=$1
|
MK=${2:-make} |
MK=${2:-make} |
P=${3:-/tmp/elwix} |
P=${3:-/tmp/elwix} |
B=$4 |
B=$4 |
PFX="--prefix ${P}" | PFX="--prefix=${P}" |
shift; shift; shift; shift; |
shift; shift; shift; shift; |
echo ">>> Working script ${MK} into ${PFX}" |
echo ">>> Working script ${MK} into ${PFX}" |
|
|
if [ -n "${B}" ]; then |
if [ -n "${B}" ]; then |
PFX="${PFX} --host ${B}" | PFX="${PFX} --host=${B}" |
fi |
fi |
|
|
TOP=$(pwd) |
TOP=$(pwd) |
Line 289 case $CMD in
|
Line 289 case $CMD in
|
;; |
;; |
pimd) |
pimd) |
cd ${ADDSRC}/pimd |
cd ${ADDSRC}/pimd |
${CEXEC} INSTALL="/usr/bin/install" ./configure --enable-scoped-acls --prefix=${PFX} || exit 1 | ${CEXEC} echo ./configure ${PFX} || exit 1 |
${MK} clean || exit 1 |
${MK} clean || exit 1 |
|
${MK} || exit 1 |
install pimd ${P}/sbin || exit 1 |
install pimd ${P}/sbin || exit 1 |
echo ">>> Now rebuild elwix $CMD program ..." |
echo ">>> Now rebuild elwix $CMD program ..." |
;; |
;; |
|
pimdd) |
|
cd ${ADDSRC}/pimdd |
|
${MK} clean || exit 1 |
|
${MK} || exit 1 |
|
install pimdd ${P}/sbin || exit 1 |
|
echo ">>> Now rebuild elwix $CMD program ..." |
|
;; |
|
freevrrpd) |
|
cd ${ADDSRC}/freevrrpd |
|
${MK} clean || exit 1 |
|
${MK} || exit 1 |
|
install freevrrpd ${P}/sbin || exit 1 |
|
echo ">>> Now rebuild elwix $CMD program ..." |
|
;; |
smartmontools) |
smartmontools) |
cd ${ADDSRC}/smartmontools |
cd ${ADDSRC}/smartmontools |
./configure --enable-sample --disable-dependency-tracking --enable-drivedb ${PFX} || exit 1 |
./configure --enable-sample --disable-dependency-tracking --enable-drivedb ${PFX} || exit 1 |
Line 315 case $CMD in
|
Line 330 case $CMD in
|
${CEXEC} INSTALL="/usr/bin/install" ./configure --enable-user=quagga --enable-group=quagga --disable-snmp \ |
${CEXEC} INSTALL="/usr/bin/install" ./configure --enable-user=quagga --enable-group=quagga --disable-snmp \ |
--sysconfdir=/etc/quagga --localstatedir=/var/run/quagga \ |
--sysconfdir=/etc/quagga --localstatedir=/var/run/quagga \ |
--enable-vtysh --enable-opaque-lsa --enable-rtadv ${PFX} || exit 1 |
--enable-vtysh --enable-opaque-lsa --enable-rtadv ${PFX} || exit 1 |
|
${MK} clean || exit 1 |
|
${MK} || exit 1 |
|
${MK} install || exit 1 |
|
echo ">>> Now rebuild elwix $CMD program ..." |
|
;; |
|
tmux) |
|
cd ${ADDSRC}/tmux |
|
${CEXEC} INSTALL="/usr/bin/install" ./configure ${PFX} || exit 1 |
${MK} clean || exit 1 |
${MK} clean || exit 1 |
${MK} || exit 1 |
${MK} || exit 1 |
${MK} install || exit 1 |
${MK} install || exit 1 |