summaryrefslogtreecommitdiffstats
path: root/gis/laszip
diff options
context:
space:
mode:
Diffstat (limited to 'gis/laszip')
-rw-r--r--gis/laszip/README13
-rw-r--r--gis/laszip/laszip.SlackBuild9
2 files changed, 15 insertions, 7 deletions
diff --git a/gis/laszip/README b/gis/laszip/README
index 61951f4705..63b526820d 100644
--- a/gis/laszip/README
+++ b/gis/laszip/README
@@ -1,6 +1,7 @@
-LASzip - a free product of rapidlasso GmbH - quickly turns bulky LAS files
-into compact LAZ files without information loss. Terabytes of LAZ data are
-now available for free download from various agencies making LASzip, winner
-of the 2012 Geospatial World Forum Technology Innovation Award in LiDAR
-Processing and 2nd place winner for innovative product at INTERGEO 2012,
-the de-facto standard for LiDAR compression.
+LASzip - a free product of rapidlasso GmbH - quickly turns bulky LAS
+files into compact LAZ files without information loss. Terabytes of
+LAZ data are now available for free download from various agencies
+making LASzip, winner of the 2012 Geospatial World Forum Technology
+Innovation Award in LiDAR Processing and 2nd place winner for
+innovative product at INTERGEO 2012, the de-facto standard for LiDAR
+compression.
diff --git a/gis/laszip/laszip.SlackBuild b/gis/laszip/laszip.SlackBuild
index 514a81cbb7..49832cd3dc 100644
--- a/gis/laszip/laszip.SlackBuild
+++ b/gis/laszip/laszip.SlackBuild
@@ -26,7 +26,7 @@ cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=laszip
VERSION=${VERSION:-2.2.0}
-BUILD=${BUILD:-1}
+BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@@ -91,6 +91,9 @@ CXXFLAGS="$SLKCFLAGS" \
make
make install DESTDIR=$PKG
+# Don't ship .la files:
+rm -f $PKG/{,usr/}lib${LIBDIRSUFFIX}/*.la
+
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
@@ -100,6 +103,10 @@ cp -a \
$PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
+rm -f $PKG/usr/lib*/*.la
+
+rm -f $PKG/usr/lib*/*.la
+
mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc