Added openssl script

This commit is contained in:
Richard Larkin 2014-05-02 09:18:41 +02:00
parent 12f233cedb
commit 6549e25c08

19
tools/build-openssl.sh Normal file
View file

@ -0,0 +1,19 @@
#!/bin/bash
. $(dirname $0)/environment.sh
if [ ! -d $TMPROOT/openssl ] ; then
mkdir $TMPROOT/openssl
fi
if [ ! -d $TMPROOT/openssl/ios-openssl ] ; then
try pushd $TMPROOT/openssl
try git clone -b master https://github.com/zen-code/ios-openssl
cd $TMPROOT/openssl/ios-openssl
build.sh
try popd
fi
# copy to buildroot
#cp $TMPROOT/SDL_ttf-$SDLTTF_VERSION/.libs/libSDL_ttf.a $BUILDROOT/lib/libSDL_ttf.a
#cp -a $TMPROOT/SDL_ttf-$SDLTTF_VERSION/SDL_ttf.h $BUILDROOT/include