Last change
on this file since c9c35a3 was
4ea5622,
checked in by sponge <sponge@…>, 10 years ago
|
mbuild.sh fixups : add new jcpuid/mbuild.sh, edit jbigi/mbuild-all.sh — pedantic naming
|
-
Property mode set to
100755
|
File size:
821 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 | rm -f t/* jcpuid/lib/freenet/support/CPUInformation/* jbigi/lib/net/i2p/util/* |
---|
12 | |
---|
13 | ( cd jcpuid ; ./mbuild.sh ) |
---|
14 | ( cd jbigi ; ./mbuild-all.sh ) |
---|
15 | |
---|
16 | rm -Rf t |
---|
17 | mkdir t |
---|
18 | |
---|
19 | ( |
---|
20 | cd t |
---|
21 | cp ../../../installer/lib/jbigi/*.so ../../../installer/lib/jbigi/*.dll ../../../installer/lib/jbigi/*.jnilib . |
---|
22 | ) |
---|
23 | |
---|
24 | cp jbigi/lib/net/i2p/util/* t/ |
---|
25 | ( |
---|
26 | cd t |
---|
27 | for i in *.so ; { strip $i ; } |
---|
28 | ) |
---|
29 | |
---|
30 | cp jcpuid/lib/freenet/support/CPUInformation/* t/ |
---|
31 | |
---|
32 | ( |
---|
33 | cd t |
---|
34 | jar cf ../jbigi.jar . |
---|
35 | ) |
---|
36 | |
---|
37 | rm -R t |
---|
38 | mkdir t |
---|
39 | cp jbigi/lib/net/i2p/util/* t/ |
---|
40 | ( |
---|
41 | cd t |
---|
42 | for i in *.so ; { strip $i ; } |
---|
43 | ) |
---|
44 | |
---|
45 | |
---|
46 | echo "jbigi.jar created." |
---|
47 | echo "raw files are in t." |
---|
Note: See
TracBrowser
for help on using the repository browser.