--- embedaddon/build.sh 2012/02/22 00:01:16 1.6 +++ embedaddon/build.sh 2012/04/08 22:08:28 1.6.2.2 @@ -4,7 +4,7 @@ # # ./build.sh [package] [make_tool] [prefix_dir] [build_arch_str] # -# $Id: build.sh,v 1.6 2012/02/22 00:01:16 misho Exp $ +# $Id: build.sh,v 1.6.2.2 2012/04/08 22:08:28 misho Exp $ # CMD=$1 @@ -279,15 +279,6 @@ case $CMD in ${MK} install echo ">>> Now rebuild elwix $CMD program ..." ;; - sqlite3) - cd sqlite3 - ./configure --enable-tempstore=yes --disable-tcl --enable-threadsafe \ - --enable-load-extension --without-tcl ${PFX} - ${MK} clean - ${MK} - ${MK} install - echo ">>> Now rebuild elwix $CMD program ..." - ;; pcre) cd pcre ./configure --enable-utf8 --enable-unicode-properties ${PFX} @@ -300,20 +291,24 @@ case $CMD in # rm -f ${P}/lib/libpcrecpp.so*T ${P}/lib/libpcreposix.so*T echo ">>> Now rebuild elwix $CMD program ..." ;; - php) + libxml2) cd libxml2 ./configure --without-python ${PFX} ${MK} clean ${MK} ${MK} install - cd .. + echo ">>> Now rebuild elwix $CMD program ..." + ;; + php) cd php - ./configure --localstatedir=/var --with-config-file-scan-dir=/etc/php --disable-all \ - --enable-libxml=../libxml2/.libs --with-openssl \ + ./configure --with-layout=GNU --localstatedir=/var --with-config-file-scan-dir=/etc/php \ + --disable-all --enable-libxml --enable-xml --with-libxml-dir=${P} --with-openssl \ --enable-zip --enable-sqlite-utf8 ${PFX} ${MK} clean ${MK} ${MK} install + strip ${P}/bin/php + strip ${P}/bin/php-cgi echo ">>> Now rebuild elwix $CMD program ..." ;; scan_ffs)