source: core/c/mbuild.sh @ 0d330ca

Last change on this file since 0d330ca was df555731, checked in by kytv <kytv@…>, 7 years ago

minor script changes

  • mbuild.sh: don't require bash
  • Slackware/i2p/doinst.sh: add bash shebang
  • Property mode set to 100755
File size: 729 bytes
Line 
1#!/bin/sh -e
2# Automatic build of so files, ignores failed builds.
3# Place latest gmp tarball in the jbigi dir, and exec this script.
4
5rm -f t/* jcpuid/lib/freenet/support/CPUInformation/* jbigi/lib/net/i2p/util/*
6
7( cd jcpuid ; ./build.sh )
8( cd jbigi ; ./mbuild-all.sh )
9
10rm -Rf t
11mkdir t
12
13(
14        cd t
15        cp ../../../installer/lib/jbigi/*.so ../../../installer/lib/jbigi/*.dll ../../../installer/lib/jbigi/*.jnilib .
16)
17
18cp jbigi/lib/net/i2p/util/* t/
19( 
20        cd t
21        for i in *.so ; do strip $i ; done
22)
23
24cp jcpuid/lib/freenet/support/CPUInformation/* t/
25
26(
27        cd t
28        jar cf ../jbigi.jar .
29)
30
31rm -R t
32mkdir t
33cp jbigi/lib/net/i2p/util/* t/
34( 
35        cd t
36        for i in *.so ; do strip $i ; done
37)
38
39
40echo "jbigi.jar created."
41echo "raw files are in t."
Note: See TracBrowser for help on using the repository browser.