forked from OSGeo/grass
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathlinux.script.sh
executable file
·34 lines (31 loc) · 952 Bytes
/
linux.script.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
#!/usr/bin/env sh
# Author: Ivan Mincik, [email protected]
set -e
export CC="ccache $CC"
export CXX="ccache $CXX"
./configure --host=x86_64-linux-gnu \
--build=x86_64-linux-gnu \
--prefix=/usr/lib \
--sysconfdir=/etc \
--sharedstatedir=/var \
--enable-shared \
--with-postgres \
--with-cxx \
--with-gdal \
--with-freetype \
--with-readline \
--with-nls \
--with-odbc \
--with-geos \
--with-lapack \
--with-netcdf \
--with-blas \
--with-sqlite \
--with-zstd \
--enable-largefile \
--with-freetype-includes=/usr/include/freetype2/ \
--with-postgres-includes=/usr/include/postgresql/ \
--with-proj-share=/usr/share/proj \
--with-python \
--with-cairo
make -j2