source: core/c/jbigi/build-all.sh @ 5eda7c30

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
3case `uname -sr` in
4MINGW*)
5        echo "Building windows .dlls for all architectures";;
6Linux*)
7        echo "Building linux .sos for all architectures";;
8FreeBSD*)
9        echo "Building freebsd .sos for all architectures";;
10*)
11        echo "Unsupported build environment"
12        exit;;
13esac
14
15VER=4.2.2
16echo "Extracting GMP Version $VER ..."
17tar -xjf gmp-$VER.tar.bz2
18echo "Building..."
19mkdir bin
20mkdir lib
21mkdir lib/net
22mkdir lib/net/i2p
23mkdir lib/net/i2p/util
24for x in none pentium pentiummmx pentium2 pentium3 pentium4 k6 k62 k63 athlon
25do
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 ..
41done
Note: See TracBrowser for help on using the repository browser.