diff options
author | Benjamin Trigona-Harany <bosth@alumni.sfu.ca> | 2016-11-27 23:06:51 -0800 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2016-12-03 07:21:28 +0700 |
commit | b6f9404c9a8abc79a4e4704e92c70f735a9d0118 (patch) | |
tree | 34c9ea7a5104d84992dff4689de7a3c60161273a /gis/qgis/qgis.SlackBuild | |
parent | a81e7eaf0cdd77c4b90b882502608203a4f8363b (diff) |
gis/qgis: Updated for version 2.18.1.
Signed-off-by: Benjamin Trigona-Harany <bosth@alumni.sfu.ca>
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'gis/qgis/qgis.SlackBuild')
-rw-r--r-- | gis/qgis/qgis.SlackBuild | 36 |
1 files changed, 19 insertions, 17 deletions
diff --git a/gis/qgis/qgis.SlackBuild b/gis/qgis/qgis.SlackBuild index c39960c8d94e0..fdd352f1c82af 100644 --- a/gis/qgis/qgis.SlackBuild +++ b/gis/qgis/qgis.SlackBuild @@ -24,7 +24,7 @@ # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. PRGNAM=qgis -VERSION=${VERSION:-2.18.0} +VERSION=${VERSION:-2.18.1} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -84,22 +84,24 @@ fi # fix double qjson target patch -p1 < $CWD/qjson.cmake.diff -cmake . \ - -DCMAKE_C_FLAGS:STRING="$SLKCFLAGS" \ - -DCMAKE_CXX_FLAGS:STRING="$SLKCFLAGS" \ - -DCMAKE_BUILD_TYPE="Release" \ - -DCMAKE_INSTALL_PREFIX=/usr \ - -DCMAKE_VERBOSE_MAKEFILE:BOOL=TRUE \ - -DQGIS_LIB_SUBDIR=lib${LIBDIRSUFFIX} \ - -DQGIS_LIBEXEC_SUBDIR=lib${LIBDIRSUFFIX}/qgis \ - -DQGIS_PLUGIN_SUBDIR=lib${LIBDIRSUFFIX}/qgis \ - -DWITH_INTERNAL_QWTPOLAR=FALSE \ - -DQWTPOLAR_INCLUDE_DIR=/usr/include/qwt \ - -DENABLE_TESTS=FALSE \ - $WITHSERVER \ - $WITHGRASS - -make install DESTDIR=$PKG +mkdir build +cd build + cmake .. \ + -DCMAKE_C_FLAGS:STRING="$SLKCFLAGS" \ + -DCMAKE_CXX_FLAGS:STRING="$SLKCFLAGS" \ + -DCMAKE_BUILD_TYPE="Release" \ + -DCMAKE_INSTALL_PREFIX=/usr \ + -DCMAKE_VERBOSE_MAKEFILE:BOOL=TRUE \ + -DQGIS_LIB_SUBDIR=lib${LIBDIRSUFFIX} \ + -DQGIS_LIBEXEC_SUBDIR=lib${LIBDIRSUFFIX}/qgis \ + -DQGIS_PLUGIN_SUBDIR=lib${LIBDIRSUFFIX}/qgis \ + -DWITH_INTERNAL_QWTPOLAR=FALSE \ + -DQWTPOLAR_INCLUDE_DIR=/usr/include/qwt \ + -DENABLE_TESTS=FALSE \ + $WITHSERVER \ + $WITHGRASS + make install DESTDIR=$PKG +cd - find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \ | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true |