version 1.3, 2017/02/13 16:52:46
|
version 1.3.2.3, 2017/08/22 14:36:56
|
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 287 case $CMD in
|
Line 287 case $CMD in
|
install upnpc-shared ${P}/bin/upnpc || exit 1 |
install upnpc-shared ${P}/bin/upnpc || exit 1 |
echo ">>> Now rebuild elwix $CMD program ..." |
echo ">>> Now rebuild elwix $CMD program ..." |
;; |
;; |
|
pimd) |
|
cd ${ADDSRC}/pimd |
|
${CEXEC} echo ./configure ${PFX} || exit 1 |
|
${MK} clean || exit 1 |
|
${MK} || exit 1 |
|
install pimd ${P}/sbin || exit 1 |
|
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 305 case $CMD in
|
Line 327 case $CMD in
|
;; |
;; |
quagga) |
quagga) |
cd ${ADDSRC}/quagga |
cd ${ADDSRC}/quagga |
${CEXEC} INSTALL="/usr/bin/install" ./configure --enable-user=quagga --enable-group=quagga --disable-snmp \ | LDFLAGS="-L${PKG}/lib" CFLAGS="-I${PKG}/include" ${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 ..." |
|
;; |
|
bird) |
|
cd ${ADDSRC}/bird |
|
LDFLAGS="-L${PKG}/lib" CFLAGS="-I${PKG}/include" ${CEXEC} INSTALL="/usr/bin/install" ./configure \ |
|
--sysconfdir=/etc/bird --localstatedir=/var ${PFX} || exit 1 |
|
${MK} clean || exit 1 |
|
${MK} || ${MK} || exit 1 |
|
${MK} install || exit 1 |
|
echo ">>> Now rebuild elwix $CMD program ..." |
|
;; |
|
bird6) |
|
cd ${ADDSRC}/bird |
|
LDFLAGS="-L${PKG}/lib" CFLAGS="-I${PKG}/include" ${CEXEC} INSTALL="/usr/bin/install" ./configure \ |
|
--enable-ipv6 --sysconfdir=/etc/bird --localstatedir=/var ${PFX} || exit 1 |
|
${MK} clean || exit 1 |
|
${MK} || ${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 |