mkdir -p /tmp/buildroot && cd /tmp/buildroot
# Need to build the latest libtool and automake first.wget http://apache.mirrors.ionfish.org/apr/apr-1.5.2.tar.bz2tar -jxf apr-1.5.2.tar.bz2 && cd apr-1.5.2./configuremake && make installcd ..wget http://apache.mirrors.ionfish.org/apr/apr-util-1.5.4.tar.bz2tar -jxf apr-util-1.5.4.tar.bz2 && cd apr-util-1.5.4./configuremake && make installcd ..wget http://serf.googlecode.com/svn/src_releases/serf-1.3.8.tar.bz2tar -jxf serf-1.3.8.tar.bz2 && cd serf-1.3.8wget http://liquidtelecom.dl.sourceforge.net/project/scons/scons-local/2.3.0/scons-local-2.3.0.tar.gzmkdir -p scons-2.3.0 && cd scons-2.3.0tar -zxf ../scons-local-2.3.0.tar.gzcd .. && ln -s scons-2.3.0/scons.py scons./scons APR=/usr/local/apr APU=/usr/local/apr OPENSSL=/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.10.sdk/usr PREFIX=/usr/local./scons installcd ..wget http://apache.fayea.com/subversion/subversion-1.8.13.tar.bz2tar -jxf subversion-1.8.13.tar.bz2 && cd subversion-1.8.13./configure --with-openssl --with-apr=/usr/local/apr --with-apr-util=/usr/local/apr --with-serf=/usr/localmake && make install