秋忆博客
若是有缘,时间空间都不是距离,若是无缘,终日相聚也无法会意,凡事不必太在意,更不需去强求。

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.bz2
tar -jxf apr-1.5.2.tar.bz2 && cd apr-1.5.2
./configure
make && make install
cd ..

wget http://apache.mirrors.ionfish.org/apr/apr-util-1.5.4.tar.bz2
tar -jxf apr-util-1.5.4.tar.bz2 && cd apr-util-1.5.4
./configure
make && make install
cd ..

wget http://serf.googlecode.com/svn/src_releases/serf-1.3.8.tar.bz2
tar -jxf serf-1.3.8.tar.bz2 && cd serf-1.3.8

wget http://liquidtelecom.dl.sourceforge.net/project/scons/scons-local/2.3.0/scons-local-2.3.0.tar.gz
mkdir -p scons-2.3.0 && cd scons-2.3.0
tar -zxf ../scons-local-2.3.0.tar.gz
cd .. && 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 install
cd ..

wget http://apache.fayea.com/subversion/subversion-1.8.13.tar.bz2
tar -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/local
make && make install

posted on 2015-06-24 16:36  秋忆  阅读(319)  评论(0编辑  收藏  举报