Last change
on this file since 5eda7c30 was
c68977ca,
checked in by zzz <zzz@…>, 13 years ago
|
- i2ptunnel: Add 3-hop option to edit.jsp to match configtunnels.jsp
- i2psnark: Remove orion and gaytorrents from default tracker list
- Remove orion from jump list and from eepsite_index.html
- Jbigi: Change jbigi version to 4.2.2 in build scripts - tested by amiga
- Capitalize OutboundMessageDistributor? job name
- TunnelPool?: Add a warning if all tunnels are backlogged
|
-
Property mode set to
100755
|
File size:
886 bytes
|
Line | |
---|
1 | #/bin/sh |
---|
2 | |
---|
3 | case `uname -sr` in |
---|
4 | MINGW*) |
---|
5 | echo "Building windows .dlls for all architectures";; |
---|
6 | Linux*) |
---|
7 | echo "Building linux .sos for all architectures";; |
---|
8 | FreeBSD*) |
---|
9 | echo "Building freebsd .sos for all architectures";; |
---|
10 | *) |
---|
11 | echo "Unsupported build environment" |
---|
12 | exit;; |
---|
13 | esac |
---|
14 | |
---|
15 | VER=4.2.2 |
---|
16 | echo "Extracting GMP Version $VER ..." |
---|
17 | tar -xjf gmp-$VER.tar.bz2 |
---|
18 | echo "Building..." |
---|
19 | mkdir bin |
---|
20 | mkdir lib |
---|
21 | mkdir lib/net |
---|
22 | mkdir lib/net/i2p |
---|
23 | mkdir lib/net/i2p/util |
---|
24 | for x in none pentium pentiummmx pentium2 pentium3 pentium4 k6 k62 k63 athlon |
---|
25 | do |
---|
26 | mkdir bin/$x |
---|
27 | cd bin/$x |
---|
28 | ../../gmp-$VER/configure --build=$x |
---|
29 | make |
---|
30 | sh ../../build_jbigi.sh static |
---|
31 | case `uname -sr` in |
---|
32 | MINGW*) |
---|
33 | cp jbigi.dll ../../lib/net/i2p/util/jbigi-windows-$x.dll;; |
---|
34 | Linux*) |
---|
35 | cp libjbigi.so ../../lib/net/i2p/util/libjbigi-linux-$x.so;; |
---|
36 | FreeBSD*) |
---|
37 | cp libjbigi.so ../../lib/net/i2p/util/libjbigi-freebsd-$x.so;; |
---|
38 | esac |
---|
39 | cd .. |
---|
40 | cd .. |
---|
41 | done |
---|
Note: See
TracBrowser
for help on using the repository browser.