diff options
author | Benjamin Trigona-Harany <bosth@alumni.sfu.ca> | 2018-06-10 08:19:54 -0700 |
---|---|---|
committer | David Spencer <idlemoor@slackbuilds.org> | 2018-06-14 01:15:14 +0100 |
commit | 578baaffa1143b0de33a118f382811848fdd711c (patch) | |
tree | 65cb3d0b927638ad0bf3ff7f5d9e2a5c58bcbe2c /gis/pointcloud/pointcloud.SlackBuild | |
parent | 43a9f23ea8f556053c2fd2a53c9f00b4b82f05d4 (diff) |
gis/pointcloud: Updated for version 1.1.0.
Signed-off-by: Benjamin Trigona-Harany <bosth@alumni.sfu.ca>
Diffstat (limited to 'gis/pointcloud/pointcloud.SlackBuild')
-rw-r--r-- | gis/pointcloud/pointcloud.SlackBuild | 32 |
1 files changed, 11 insertions, 21 deletions
diff --git a/gis/pointcloud/pointcloud.SlackBuild b/gis/pointcloud/pointcloud.SlackBuild index 35a4da9a590ae..af26628e46eb6 100644 --- a/gis/pointcloud/pointcloud.SlackBuild +++ b/gis/pointcloud/pointcloud.SlackBuild @@ -2,7 +2,7 @@ # Slackware build script for pointcloud -# Copyright 2013 Benjamin Trigona-Harany <slackbuilds@jaxartes.net> +# Copyright 2013-2018 Benjamin Trigona-Harany <slackbuilds@jaxartes.net> # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -23,7 +23,7 @@ # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. PRGNAM=pointcloud -VERSION=${VERSION:-1.0.1} +VERSION=${VERSION:-1.1.0} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -69,25 +69,15 @@ find -L . \ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; -# Upstream commit -# please remove it on next release -patch -p1 < $CWD/postgresql9.5.patch - -sed -i "s/cppflags/cflags/" CMakeLists.txt -sed -i "s/CPPFLAGS/CFLAGS/" CMakeLists.txt -sed -i "s/CPPFLAGS/CFLAGS/" pgsql/CMakeLists.txt - -mkdir -p build -cd build - cmake \ - -DCMAKE_C_FLAGS:STRING="$SLKCFLAGS" \ - -DCMAKE_CXX_FLAGS:STRING="$SLKCFLAGS" \ - -DCMAKE_INSTALL_PREFIX=/usr \ - -DCMAKE_BUILD_TYPE=Release \ - -DWITH_TESTS=FALSE \ - .. - make install DESTDIR=$PKG -cd .. +./autogen.sh +CFLAGS="$SLKCFLAGS" \ +CXXFLAGS="$SLKCFLAGS" \ +./configure \ + --prefix=/usr \ + --libdir=/usr/lib${LIBDIRSUFFIX} \ + --build=$ARCH-slackware-linux +make +make install DESTDIR=$PKG find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \ | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true |