Skip to content

Commit c046921

Browse files
committed
splits from bitbucket
1 parent 5725bc1 commit c046921

File tree

1 file changed

+12
-6
lines changed

1 file changed

+12
-6
lines changed

Dockerfile

Lines changed: 12 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,9 @@ apt-get -y install \
2929
libgdal-dev \
3030
gdal-bin \
3131
#python-gdal \
32+
autoconf \
33+
autoconf-archive \
34+
automake \
3235
libarmadillo-dev \
3336
libfltk1.3-dev \
3437
libgsl0-dev \
@@ -115,12 +118,15 @@ cmake -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=/usr/local .. \
115118
&& make clean && \
116119
#
117120
# Build SPLITS from source
118-
mkdir -p $INSTALL_DIR/splits && \
119-
cd $INSTALL_DIR/splits && \
120-
wget http://sebastian-mader.net/wp-content/uploads/2017/11/splits-1.9.tar.gz && \
121-
tar -xzf splits-1.9.tar.gz && \
122-
cd $INSTALL_DIR/splits/splits-1.9 && \
123-
./configure CPPFLAGS="-I /usr/include/gdal" CXXFLAGS=-fpermissive \
121+
cd $INSTALL_DIR && \
122+
git clone https://bitbucket.org/smader/splits.git \
123+
&& cd splits && \
124+
libtoolize --force \
125+
&& aclocal \
126+
&& autoheader \
127+
&& automake --force-missing --add-missing \
128+
&& autoconf \
129+
&& ./configure --disable-gui CPPFLAGS=-I/usr/include/gdal CXXFLAGS=-fpermissive \
124130
&& make \
125131
&& make install \
126132
&& make clean && \

0 commit comments

Comments
 (0)