Files
i2p.itoopie/core/c/jbigi/build.sh

22 lines
389 B
Bash
Raw Normal View History

#/bin/sh
2004-12-10 13:12:07 +00:00
echo "Building the jbigi library with GMP"
echo "Extracting GMP..."
2004-12-10 10:22:17 +00:00
tar -xjf gmp-4.1.4.tar.bz2
echo "Building..."
2004-12-10 13:12:07 +00:00
mkdir -p lib/
mkdir -p bin/local
cd bin/local
case `uname -sr` in
Darwin*)
# --with-pic is required for static linking
../../gmp-4.1.4/configure --with-pic;;
*)
../../gmp-4.1.4/configure;;
esac
make
sh ../../build_jbigi.sh static
2004-12-10 13:12:07 +00:00
cp *jbigi???* ../../lib/
cd ../..