source: core/c/mbuild.sh @ 18ee239

Last change on this file since 18ee239 was 4ea5622, checked in by sponge <sponge@…>, 9 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
11rm -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
16rm -Rf t
17mkdir t
18
19(
20        cd t
21        cp ../../../installer/lib/jbigi/*.so ../../../installer/lib/jbigi/*.dll ../../../installer/lib/jbigi/*.jnilib .
22)
23
24cp jbigi/lib/net/i2p/util/* t/
25( 
26        cd t
27        for i in *.so ; { strip $i ; }
28)
29
30cp jcpuid/lib/freenet/support/CPUInformation/* t/
31
32(
33        cd t
34        jar cf ../jbigi.jar .
35)
36
37rm -R t
38mkdir t
39cp jbigi/lib/net/i2p/util/* t/
40( 
41        cd t
42        for i in *.so ; { strip $i ; }
43)
44
45
46echo "jbigi.jar created."
47echo "raw files are in t."
Note: See TracBrowser for help on using the repository browser.