--- elwix/build_3thparty.sh 2012/02/22 00:04:21 1.1.2.2 +++ elwix/build_3thparty.sh 2012/05/29 13:04:43 1.1.2.6 @@ -5,7 +5,7 @@ # (C) AITNET ltd - Sofia/Bulgaria # by Michael Pounov # -# $Id: build_3thparty.sh,v 1.1.2.2 2012/02/22 00:04:21 misho Exp $ +# $Id: build_3thparty.sh,v 1.1.2.6 2012/05/29 13:04:43 misho Exp $ # [ -r ./config/rc.elwix ] && . ./config/rc.elwix @@ -15,6 +15,11 @@ if [ X"${ELWIX_IS_CONFIGURED}" != X"YES" ]; then echo exit 1 fi +V=${VERSION} +[ -r ${CENV} ] && . ${CENV} +unset INSTALL +unset VERSION +VERSION="$V" if [ ! -d $BSDSRC ]; then echo @@ -30,7 +35,7 @@ if [ ! -d $DEST ]; then exit 1 fi -clean_cross() +clean_3th() { echo "+++ Clean ELWIX 3th party ..." @@ -88,8 +93,6 @@ compile_3th() [ $? -ne 0 ] && exit 1 ./build.sh smartmontools ${CBUILD} ${PKG} ${TARGET_BUILD} [ $? -ne 0 ] && exit 1 - ./build.sh sqlite3 ${CBUILD} ${PKG} ${TARGET_BUILD} - [ $? -ne 0 ] && exit 1 ./build.sh quagga ${CBUILD} ${PKG} ${TARGET_BUILD} [ $? -ne 0 ] && exit 1 ./build.sh coova-chilli ${CBUILD} ${PKG} ${TARGET_BUILD} @@ -98,7 +101,7 @@ compile_3th() [ $? -ne 0 ] && exit 1 ./build.sh arping ${CBUILD} ${PKG} ${TARGET_BUILD} [ $? -ne 0 ] && exit 1 - ./build.sh hping ${CGBUILD} ${PKG} ${TARGET_BUILD} + ./build.sh hping2 ${CGBUILD} ${PKG} ${TARGET_BUILD} [ $? -ne 0 ] && exit 1 ./build.sh trafshow ${CBUILD} ${PKG} ${TARGET_BUILD} [ $? -ne 0 ] && exit 1 @@ -110,8 +113,16 @@ compile_3th() [ $? -ne 0 ] && exit 1 ./build.sh dhcping ${CBUILD} ${PKG} ${TARGET_BUILD} [ $? -ne 0 ] && exit 1 + ./build.sh miniupnpd ${CBUILD} ${PKG} ${TARGET_BUILD} + [ $? -ne 0 ] && exit 1 + ./build.sh miniupnpc ${CBUILD} ${PKG} ${TARGET_BUILD} + [ $? -ne 0 ] && exit 1 + ./build.sh ntp ${CBUILD} ${PKG} ${TARGET_BUILD} + [ $? -ne 0 ] && exit 1 ./build.sh thttpd ${CBUILD} ${PKG} ${TARGET_BUILD} [ $? -ne 0 ] && exit 1 + ./build.sh libxml2 ${CBUILD} ${PKG} ${TARGET_BUILD} + [ $? -ne 0 ] && exit 1 ./build.sh php ${CBUILD} ${PKG} ${TARGET_BUILD} [ $? -ne 0 ] && exit 1 cd - @@ -121,6 +132,7 @@ compile_3th() ### main() if ! SnitVer ${PKG}/elwix.ver; then + clean_3th compile_3th else echo "Skipped ELWIX 3th party build ..."