[Yt-svn] commit/yt: MatthewTurk: Adding SQLite3 to the install_script
Bitbucket
commits-noreply at bitbucket.org
Sun Feb 27 19:33:39 PST 2011
1 new changeset in yt:
http://bitbucket.org/yt_analysis/yt/changeset/f9c66b2cacfc/
changeset: r3782:f9c66b2cacfc
branch: yt
user: MatthewTurk
date: 2011-02-28 04:33:20
summary: Adding SQLite3 to the install_script
affected #: 1 file (681 bytes)
--- a/doc/install_script.sh Sat Feb 26 10:04:33 2011 -0500
+++ b/doc/install_script.sh Sun Feb 27 22:33:20 2011 -0500
@@ -39,7 +39,8 @@
INST_PNG=1 # Install a local libpng? Same things apply as with zlib.
INST_FTYPE=1 # Install FreeType2 locally?
INST_ENZO=0 # Clone a copy of Enzo?
-INST_FORTHON=1
+INST_SQLITE3=1 # Install a local version of SQLite3?
+INST_FORTHON=1 # Install Forthon?
# If you've got YT some other place, set this to point to it.
YT_DIR=""
@@ -179,6 +180,10 @@
get_willwont ${INST_FTYPE}
echo "be installing freetype2"
+printf "%-15s = %s so I " "INST_SQLITE3" "${INST_SQLITE3}"
+get_willwont ${INST_SQLITE3}
+echo "be installing SQLite3"
+
printf "%-15s = %s so I " "INST_FORTHON" "${INST_FORTHON}"
get_willwont ${INST_FORTHON}
echo "be installing Forthon (for Halo Finding, etc)"
@@ -276,6 +281,7 @@
[ $INST_BZLIB -eq 1 ] && get_enzotools bzip2-1.0.5.tar.gz
[ $INST_PNG -eq 1 ] && get_enzotools libpng-1.2.43.tar.gz
[ $INST_FTYPE -eq 1 ] && get_enzotools freetype-2.4.4.tar.gz
+[ $INST_SQLITE3 -eq 1 ] && get_enzotools sqlite-autoconf-3070500.tar.gz
get_enzotools Python-2.6.3.tgz
get_enzotools numpy-1.5.1.tar.gz
get_enzotools matplotlib-1.0.0.tar.gz
@@ -374,6 +380,20 @@
fi
export HDF5_API=16
+if [ $INST_SQLITE3 -eq 1 ]
+then
+ if [ ! -e sqlite-autoconf-3070500/done ]
+ then
+ [ ! -e sqlite-autoconf-3070500 ] && tar xfz sqlite-autoconf-3070500.tar.gz
+ echo "Installing SQLite3"
+ cd sqlite-autoconf-3070500
+ ( ./configure --prefix=${DEST_DIR}/ 2>&1 ) 1>> ${LOG_FILE} || do_exit
+ ( make install 2>&1 ) 1>> ${LOG_FILE} || do_exit
+ touch done
+ cd ..
+ fi
+fi
+
if [ ! -e Python-2.6.3/done ]
then
echo "Installing Python. This may take a while, but don't worry. YT loves you."
Repository URL: https://bitbucket.org/yt_analysis/yt/
--
This is a commit notification from bitbucket.org. You are receiving
this because you have the service enabled, addressing the recipient of
this email.
More information about the yt-svn
mailing list