| 250 | Download the latest version of cURL from [http://curl.haxx.se/download.html this page] to the working directory and then unpack it there, e.g.: |
| 251 | |
| 252 | {{{ |
| 253 | $ cd ~/android |
| 254 | $ tar -xvf curl-7.24.0.tar.bz2 |
| 255 | }}} |
| 256 | |
| 257 | Now change directory to the directory that was unpacked, e.g.: |
| 258 | |
| 259 | {{{ |
| 260 | $ cd ~/android/curl-7.24.0 |
| 261 | }}} |
| 262 | |
| 263 | Then execute the following commands to compile the package for the target device: |
| 264 | |
| 265 | {{{ |
| 266 | $ ./configure --host=$HOSTCONF --build=i686-pc-linux-gnu --with-sysroot=$SYSROOT --prefix=$SYSROOT/usr/local |
| 267 | $ make |
| 268 | $ make install |
| 269 | }}} |
| 270 | |