File tree Expand file tree Collapse file tree 2 files changed +40
-1
lines changed Expand file tree Collapse file tree 2 files changed +40
-1
lines changed Original file line number Diff line number Diff line change 5050 mkdir -p $ROOT /build/libgeos
5151 pushd $ROOT /build/libgeos
5252 emcmake cmake -DCMAKE_INSTALL_PREFIX:PATH=$PREFIX ${ROOT} /src/libgeos
53- # emconfigure ${ROOT}/src/libgeos/configure --prefix=$PREFIX --disable-test
5453 emmake make -j $( nproc) install
5554 popd
5655fi
Original file line number Diff line number Diff line change 1+ #! /bin/bash
2+
3+ . ${CONFIG:- config}
4+
5+
6+ cd ${ROOT} /src
7+
8+ if [ -d libproj ]
9+ then
10+ echo ok
11+ else
12+ wget -c https://download.osgeo.org/proj/proj-9.4.0.tar.gz
13+ tar xvfz proj-9.4.0.tar.gz
14+ mv proj-9.4.0 libproj
15+
16+ pushd libgeos
17+ # patch
18+ popd
19+ fi
20+
21+
22+ if [ -f $PREFIX /lib/libproj.a ]
23+ then
24+ echo "
25+ already built in $PREFIX /lib/libproj.a
26+ "
27+ else
28+ . ${SDKROOT} /scripts/emsdk-fetch.sh
29+
30+ mkdir -p $ROOT /build/libproj
31+ pushd $ROOT /build/libproj
32+ emcmake cmake ../../src/libproj \
33+ -DCMAKE_INSTALL_PREFIX=$PREFIX -DENABLE_TIFF=NO -DENABLE_CURL=NO -DUSE_EXTERNAL_GTEST=NO -DBUILD_PROJSYNC=no
34+ emmake make -j $( nproc) install
35+ popd
36+ fi
37+
38+
39+
40+
You can’t perform that action at this time.
0 commit comments