Last change
on this file since c7f5178 was
cb3a8b6,
checked in by kytv <kytv@…>, 10 years ago
|
remove accidental cruft leftover from testing
|
-
Property mode set to
100755
|
File size:
1000 bytes
|
Line | |
---|
1 | #!/usr/bin/env 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 | if [ -z "$BASH_VERSION" ]; then |
---|
6 | echo "This script needs to be run with Bash." |
---|
7 | echo |
---|
8 | echo "Please install bash and then run this script with" |
---|
9 | echo "bash $0" |
---|
10 | exit 1 |
---|
11 | fi |
---|
12 | |
---|
13 | #JBIGI=../../../installer/lib/jbigi/jbigi.jar |
---|
14 | |
---|
15 | #if [ -f jbigi.jarx ] ; then |
---|
16 | #JBIGI=../jbigi.jar |
---|
17 | #fi |
---|
18 | |
---|
19 | rm -f t/* jcpuid/lib/freenet/support/CPUInformation/* jbigi/lib/net/i2p/util/* |
---|
20 | |
---|
21 | ( cd jcpuid ; ./build.sh ) |
---|
22 | ( cd jbigi ; ./mbuild-all.sh ) |
---|
23 | |
---|
24 | rm -Rf t |
---|
25 | mkdir t |
---|
26 | |
---|
27 | ( |
---|
28 | cd t |
---|
29 | cp ../../../installer/lib/jbigi/*.so ../../../installer/lib/jbigi/*.dll ../../../installer/lib/jbigi/*.jnilib . |
---|
30 | ) |
---|
31 | |
---|
32 | cp jbigi/lib/net/i2p/util/* t/ |
---|
33 | ( |
---|
34 | cd t |
---|
35 | for i in *.so ; { strip $i ; } |
---|
36 | ) |
---|
37 | |
---|
38 | cp jcpuid/lib/freenet/support/CPUInformation/* t/ |
---|
39 | |
---|
40 | ( |
---|
41 | cd t |
---|
42 | jar cf ../jbigi.jar . |
---|
43 | ) |
---|
44 | |
---|
45 | rm -R t |
---|
46 | mkdir t |
---|
47 | cp jbigi/lib/net/i2p/util/* t/ |
---|
48 | ( |
---|
49 | cd t |
---|
50 | for i in *.so ; { strip $i ; } |
---|
51 | ) |
---|
52 | |
---|
53 | |
---|
54 | echo "jbigi.jar created." |
---|
55 | echo "raw files are in t." |
---|
Note: See
TracBrowser
for help on using the repository browser.