27 lines
502 B
Plaintext
Executable File
27 lines
502 B
Plaintext
Executable File
set -ex
|
|
DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
|
|
|
|
mkdir -p sdk/include
|
|
|
|
mkdir elpasso
|
|
pushd elpasso
|
|
|
|
# wget -N http://www.zlib.net/zlib-1.2.13.tar.gz
|
|
|
|
git clone --depth 1 https://github.com/Zhiyi-Zhang/PS-Signature-and-EL-PASSO --branch=v0.3
|
|
|
|
LIB=PS-Signature-and-EL-PASSO
|
|
|
|
pushd $LIB
|
|
ln -fs $DIR/../../Makefile-template Makefile
|
|
cp $DIR/Makefile.project Makefile.project
|
|
popd
|
|
|
|
popd
|
|
|
|
pushd sdk/include
|
|
ln -fs ../../elpasso/$LIB/src elpasso
|
|
popd
|
|
|
|
|