Updating the build requirements and info on the current required libevent patch.

svn:r20836
This commit is contained in:
Jacob Appelbaum 2009-10-25 04:49:06 +00:00
parent d4045d3403
commit e6206dea39
1 changed files with 4 additions and 3 deletions

7
BUILD
View File

@ -2,9 +2,10 @@ This document explains how to properly build an Android package of Orbot from
source. source.
Please install the following prerequisites (instructions for each follows): Please install the following prerequisites (instructions for each follows):
Android OS SDK ant: http://ant.apache.org/
Android OS SDK: http://source.android.com/download
droid-wrapper: http://github.com/tmurakam/droid-wrapper droid-wrapper: http://github.com/tmurakam/droid-wrapper
libevent source (1.4.12-stable) libevent source (1.4.12-stable from svn)
Tor source (most recent git master branch) Tor source (most recent git master branch)
Install and prepare the Android OS SDK ( http://source.android.com/download ) Install and prepare the Android OS SDK ( http://source.android.com/download )
@ -54,7 +55,7 @@ Fetch and build libevent:
svn co https://levent.svn.sourceforge.net/svnroot/levent/tags/release-1.4.12-stable/libevent/ . svn co https://levent.svn.sourceforge.net/svnroot/levent/tags/release-1.4.12-stable/libevent/ .
export LIBEVENTDIR=`pwd` export LIBEVENTDIR=`pwd`
./autogen.sh ./autogen.sh
# http://pastebin.ca/1577207 # Put the contents of http://pastebin.ca/1577207 in /tmp/libevent-patch
patch < /tmp/libevent-patch patch < /tmp/libevent-patch
CC=droid-gcc LD=droid-ld ./configure --host=arm-none-linux-gnueabi CC=droid-gcc LD=droid-ld ./configure --host=arm-none-linux-gnueabi
make make