Last change
on this file since 45f30209 was
45f30209,
checked in by sponge <sponge@…>, 10 years ago
|
mbuild.sh document and fixes, mbuild-all.sh add cpu types
|
-
Property mode set to
100755
|
File size:
737 bytes
|
Line | |
---|
1 | #/bin/bash |
---|
2 | # Automatic build of so files, ignores failed builds. |
---|
3 | # Place latest gmp tarball in the jbigi dir, and exec this script. |
---|
4 | |
---|
5 | JBIGI=../../../installer/lib/jbigi/jbigi.jar |
---|
6 | |
---|
7 | if [ -f jbigi.jarx ] ; then |
---|
8 | JBIGI=../jbigi.jar |
---|
9 | fi |
---|
10 | |
---|
11 | (cd jcpuid ; sh build.sh ) |
---|
12 | (cd jbigi ; sh mbuild-all.sh ) |
---|
13 | |
---|
14 | rm -Rf t |
---|
15 | mkdir t |
---|
16 | |
---|
17 | ( |
---|
18 | cd t |
---|
19 | cp ../../../installer/lib/jbigi/*.so ../../../installer/lib/jbigi/*.dll ../../../installer/lib/jbigi/*.jnilib . |
---|
20 | ) |
---|
21 | |
---|
22 | cp jbigi/lib/net/i2p/util/* t/ |
---|
23 | ( |
---|
24 | cd t |
---|
25 | for i in *.so ; { strip $i ; } |
---|
26 | ) |
---|
27 | |
---|
28 | cp jcpuid/lib/freenet/support/CPUInformation/* t/ |
---|
29 | |
---|
30 | ( |
---|
31 | cd t |
---|
32 | jar cf ../jbigi.jar . |
---|
33 | ) |
---|
34 | |
---|
35 | rm -R t |
---|
36 | mkdir t |
---|
37 | cp jbigi/lib/net/i2p/util/* t/ |
---|
38 | ( |
---|
39 | cd t |
---|
40 | for i in *.so ; { strip $i ; } |
---|
41 | ) |
---|
42 | |
---|
43 | |
---|
44 | echo "jbigi.jar Refreshed." |
---|
45 | echo "raw files ar in t." |
---|
Note: See
TracBrowser
for help on using the repository browser.