add ppa for gdal, remove superbuild

pull/495/head
Stephen Vincent Mather 2017-02-23 21:42:24 +00:00
rodzic ed6d7ef7ff
commit 6d55805265
2 zmienionych plików z 5 dodań i 25 usunięć

Wyświetl plik

@ -1,25 +0,0 @@
set(_proj_name pdal)
set(_SB_BINARY_DIR "${SB_BINARY_DIR}/${_proj_name}")
ExternalProject_Add(${_proj_name}
PREFIX ${_SB_BINARY_DIR}
TMP_DIR ${_SB_BINARY_DIR}/tmp
STAMP_DIR ${_SB_BINARY_DIR}/stamp
#--Download step--------------
DOWNLOAD_DIR ${SB_DOWNLOAD_DIR}
URL http://download.osgeo.org/gdal/2.1.3/gdal-2.1.3.tar.gz
URL_MD5 e5057f6011b720cfbbebbbbf216c0ffe
#--Update/Patch step----------
UPDATE_COMMAND ""
#--Configure step-------------
SOURCE_DIR ${SB_SOURCE_DIR}/${_proj_name}
CMAKE_ARGS
#--Build step-----------------
BINARY_DIR ${_SB_BINARY_DIR}
#--Install step---------------
INSTALL_DIR ${SB_INSTALL_DIR}
#--Output logging-------------
LOG_DOWNLOAD OFF
LOG_CONFIGURE OFF
LOG_BUILD OFF
)

Wyświetl plik

@ -9,11 +9,16 @@ export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$RUNPATH/SuperBuild/install/lib
echo "Updating the system"
sudo apt-get update
sudo add-apt-repository -y ppa:ubuntugis/ppa
sudo apt-get update
echo "Installing Required Requisites"
sudo apt-get install -y -qq build-essential \
git \
cmake \
python-pip \
libgdal-dev \
gdal-bin \
libgeotiff-dev \
pkg-config