diff options
Diffstat (limited to 'src/native/libjunbound/make-linux.sh')
-rw-r--r-- | src/native/libjunbound/make-linux.sh | 35 |
1 files changed, 0 insertions, 35 deletions
diff --git a/src/native/libjunbound/make-linux.sh b/src/native/libjunbound/make-linux.sh deleted file mode 100644 index 991eb17..0000000 --- a/src/native/libjunbound/make-linux.sh +++ /dev/null @@ -1,35 +0,0 @@ -#!/bin/bash -set -e - -out=`pwd`/build/linux -prefix=$out/libs -export JAVA_HOME=/usr/lib/jvm/default-java/ - -mkdir -p $out -mkdir -p $prefix - -cd $out - -expat=expat-2.1.0 -unbound=unbound-1.5.1 - -wget -nc http://downloads.sourceforge.net/project/expat/expat/2.1.0/$expat.tar.gz -wget -nc http://unbound.net/downloads/$unbound.tar.gz - -tar -xzvf $expat.tar.gz -tar -xzvf $unbound.tar.gz - -cd $out/$expat -./configure --with-pic --prefix=$prefix -make -make install - -cd $out/$unbound -patch -p 1 -i $out/../../unbound.patch -./configure --with-pic --prefix=$prefix --with-libexpat=$prefix -make -make install - -cd $out -gcc $out/../../src/net_java_sip_communicator_impl_dns_UnboundApi.cpp -fpic -shared -o libjunbound.so -I$JAVA_HOME/include -Wl,-Bstatic -L$prefix/lib -lunbound -I$prefix/include -Wl,-Bdynamic -lcrypto -lssl -strip libjunbound.so |