Files
i2p.itoopie/core/c/jbigi/build-all.sh
zzz c68977ca8c * 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
2008-02-27 15:18:32 +00:00

42 lines
886 B
Bash
Executable File

#/bin/sh
case `uname -sr` in
MINGW*)
echo "Building windows .dlls for all architectures";;
Linux*)
echo "Building linux .sos for all architectures";;
FreeBSD*)
echo "Building freebsd .sos for all architectures";;
*)
echo "Unsupported build environment"
exit;;
esac
VER=4.2.2
echo "Extracting GMP Version $VER ..."
tar -xjf gmp-$VER.tar.bz2
echo "Building..."
mkdir bin
mkdir lib
mkdir lib/net
mkdir lib/net/i2p
mkdir lib/net/i2p/util
for x in none pentium pentiummmx pentium2 pentium3 pentium4 k6 k62 k63 athlon
do
mkdir bin/$x
cd bin/$x
../../gmp-$VER/configure --build=$x
make
sh ../../build_jbigi.sh static
case `uname -sr` in
MINGW*)
cp jbigi.dll ../../lib/net/i2p/util/jbigi-windows-$x.dll;;
Linux*)
cp libjbigi.so ../../lib/net/i2p/util/libjbigi-linux-$x.so;;
FreeBSD*)
cp libjbigi.so ../../lib/net/i2p/util/libjbigi-freebsd-$x.so;;
esac
cd ..
cd ..
done