source: core/c/jbigi/build.sh @ 24c8cc1

Last change on this file since 24c8cc1 was 24c8cc1, checked in by zzz <zzz@…>, 17 years ago

reference the new gmp 4.1.4

  • Property mode set to 100644
File size: 693 bytes
Line 
1#/bin/sh
2
3case `uname -sr` in
4MINGW*)
5        echo "Building windows .dll's";;
6CYGWIN*)
7        echo "Building windows .dll's";;
8Linux*)
9        echo "Building linux .so's";;
10FreeBSD*)
11        echo "Building freebsd .so's";;
12*)
13        echo "Unsupported build environment"
14        exit;;
15esac
16
17echo "Extracting GMP..."
18tar -xjf gmp-4.1.4.tar.bz2
19echo "Building..."
20mkdir bin
21mkdir lib
22mkdir lib/net
23mkdir lib/net/i2p
24mkdir lib/net/i2p/util
25mkdir bin/local
26cd bin/local
27../../gmp-4.1.4/configure
28make
29sh ../../build_jbigi.sh static
30case `uname -sr` in
31MINGW*)
32        cp jbigi.dll ../../lib/jbigi;;
33CYGWIN*)
34        cp jbigi.dll ../../lib/jbigi;;
35Linux*)
36        cp libjbigi.so ../../lib/jbigi;;
37FreeBSD*)
38        cp libjbigi.so ../../lib/jbigi;;
39esac
40cd ..
41cd ..
Note: See TracBrowser for help on using the repository browser.