--- embedaddon/build.sh 2012/02/22 00:01:16 1.6 +++ embedaddon/build.sh 2012/10/12 08:24:44 1.7 @@ -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.7 2012/10/12 08:24:44 misho Exp $ # CMD=$1 @@ -46,7 +46,7 @@ fi case $CMD in sudo) cd sudo - ./configure --sysconfdir=/etc --libexecdir=/usr/libexec --with-ignore-dot \ + ./configure --sysconfdir=/etc --libexecdir=/usr/local/libexec --with-ignore-dot \ --with-tty-tickets --with-env-editor --with-logincap \ --with-long-otp-prompt --with-pam --with-logfac=local2 \ ${PFX} @@ -119,7 +119,7 @@ case $CMD in ;; ipsec-tools) cd ipsec-tools - ./configure --enable-shared --sysconfdir=/etc/racoon --localstatedir=/var/db \ + ./configure --enable-shared --sysconfdir=/etc/racoon --localstatedir=/var/run \ --enable-debug --enable-ipv6 --enable-adminport --enable-stats \ --enable-dpd --enable-natt=yes --enable-frag --enable-hybrid \ --without-libpam --disable-gssapi --with-libradius --without-libldap \ @@ -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,25 @@ 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 -s ${P}/bin/php + rm -f ${P}/bin/php + strip -s ${P}/bin/php-cgi echo ">>> Now rebuild elwix $CMD program ..." ;; scan_ffs) @@ -342,16 +338,28 @@ case $CMD in ;; istgt) cd istgt - ./configure ${PFX} + ./configure --enable-symlink-device ${PFX} ${MK} clean ${MK} install src/istgt ${P}/bin install src/istgtcontrol ${P}/bin echo ">>> Now rebuild elwix $CMD program ..." ;; - thttpd) - cd thttpd - ./configure ${PFX} + ntp) + cd ntp + ./configure --without-ntpsnmpd --with-crypto --enable-ipv6 --enable-BANCOMM \ + --enable-GPSVME --enable-ACTS --enable-ARBITER --enable-ARCRON_MSF \ + --enable-AS2201 --enable-ATOM --enable-CHRONOLOG --enable-CHU \ + --enable-AUDIO_CHU --enable-DATUM --enable-DUMBCLOCK --enable-FG \ + --enable-HEATH --enable-HOPFSERIAL --enable-HOPFPCI --enable-HPGPS \ + --enable-IRIG --enable-JJY --enable-JUPITER --enable-LEITCH \ + --enable-LOCAL_CLOCK --enable-MX4200 --enable-NEOCLOCK4X --enable-NMEA \ + --enable-ONCORE --enable-PALISADE --enable-PCF --enable-PST \ + --enable-RIPENCC --enable-SHM --enable-SPECTRACOM --enable-TRUETIME \ + --enable-ULINK --enable-WWV --enable-ZYFER --enable-COMPUTIME \ + --enable-DCF7000 --enable-HOPF6021 --enable-MEINBERG --enable-RAWDCF \ + --enable-RCC8000 --enable-SCHMID --enable-TRIMTAIP --enable-TRIMTSIP \ + --enable-WHARTON --enable-VARITEXT ${PFX} ${MK} clean ${MK} ${MK} install