5 if [ -f `which easy_install` ]; then
6 echo "Installing mysql-server and subversion" && \
7 apt-get
install mysql-server-5.0 libmysqlclient15-dev subversion
&& \
8 echo "Beginning source builds" && \
12 echo "Building httplib2..." && \
13 wget
-nc http
://httplib2.googlecode.com
/files
/httplib2-0.4
.0.
tar.gz
&& \
14 tar xzvf httplib2-0.4
.0.
tar.gz
&& \
15 echo "Fetching and applying custom patch..." && \
16 patch -N build
/httplib2-0.4
.0/httplib
2/__init__.py
< build
/httplib2.303error.
patch
17 cd httplib2-0.4
.0/ && \
18 python setup.py
install && \
21 echo "Building lighttpd..." && \
22 wget
-nc http
://www.lighttpd.net
/download
/lighttpd-1.4
.23.
tar.gz
&&\
23 tar xzvf lighttpd-1.4
.23.
tar.gz
&& \
24 cd lighttpd-1.4
.23 && \
25 .
/configure
--disable-ipv6 --disable-lfs --without-zlib --without-bzip2 --without-deflate --prefix=/usr
&& \
27 sudo
make install && \
30 echo "Building MySQL-python" && \
31 wget
-nc http
://downloads.sourceforge.net
/mysql-python
/MySQL-python-1.2
.3c1.
tar.gz
&& \
32 tar xzvf MySQL-python-1.2
.3c1.
tar.gz
&& \
33 cd MySQL-python-1.2
.3c1
&& \
34 python setup.py
install && \
37 echo "Building Imaging" && \
38 wget
-nc http
://effbot.org
/downloads
/Imaging-1.1
.7b1.
tar.gz
&& \
39 tar xzvf Imaging-1.1
.7b1.
tar.gz
&& \
40 cd Imaging-1.1
.7b1
&& \
41 python setup.py
install && \
44 echo "Building multiprocessing" && \
45 wget
-nc http
://pypi.python.org
/packages
/source
/m
/multiprocessing
/multiprocessing-2.6
.0.2.
tar.gz
&&\
46 tar xzvf multiprocessing-2.6
.0.2.
tar.gz
&& \
47 cd multiprocessing-2.6
.0.2 && \
48 python setup.py
install && \
51 echo "Building SQLite library" && \
52 wget
-nc http
://www.sqlite.org
/sqlite-amalgamation-3.6
.15.
tar.gz
&&\
53 tar xzvf sqlite-amalgamation-3.6
.15.
tar.gz
&&\
55 .
/configure
--prefix=/usr
&&\
60 echo "Building SQLite python module: apsw" && \
61 svn co http
://apsw.googlecode.com
/svn
/apsw
/trunk apsw
&&\
63 python setup.py
install
66 echo "You must install the python 'setuptools' package. I can't do this automatically."