Files
i2p.i2p/core/c/mbuild.sh
kytv df555731c4 minor script changes
- mbuild.sh: don't require bash
- Slackware/i2p/doinst.sh: add bash shebang
2013-09-20 22:17:48 +00:00

42 lines
729 B
Bash
Executable File

#!/bin/sh -e
# Automatic build of so files, ignores failed builds.
# Place latest gmp tarball in the jbigi dir, and exec this script.
rm -f t/* jcpuid/lib/freenet/support/CPUInformation/* jbigi/lib/net/i2p/util/*
( cd jcpuid ; ./build.sh )
( cd jbigi ; ./mbuild-all.sh )
rm -Rf t
mkdir t
(
cd t
cp ../../../installer/lib/jbigi/*.so ../../../installer/lib/jbigi/*.dll ../../../installer/lib/jbigi/*.jnilib .
)
cp jbigi/lib/net/i2p/util/* t/
(
cd t
for i in *.so ; do strip $i ; done
)
cp jcpuid/lib/freenet/support/CPUInformation/* t/
(
cd t
jar cf ../jbigi.jar .
)
rm -R t
mkdir t
cp jbigi/lib/net/i2p/util/* t/
(
cd t
for i in *.so ; do strip $i ; done
)
echo "jbigi.jar created."
echo "raw files are in t."