summaryrefslogtreecommitdiff
path: root/libraries/libgeotiff/libgeotiff.SlackBuild
diff options
context:
space:
mode:
authorDavid Spencer <baildon.research@googlemail.com>2012-05-15 14:13:54 -0500
committerErik Hanson <erik@slackbuilds.org>2012-05-21 17:57:51 -0500
commit4b14b6554200a403a2fcdaae92abde7323a8843a (patch)
tree562c42d0a3931c6e2d77bee2780d7bfbd4942fbb /libraries/libgeotiff/libgeotiff.SlackBuild
parentd76948bb06c1464de7ac9e9ea85f8fa61d1c59c6 (diff)
downloadslackbuilds-4b14b6554200a403a2fcdaae92abde7323a8843a.tar.gz
libraries/libgeotiff: Updated for version 1.4.0.
Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
Diffstat (limited to 'libraries/libgeotiff/libgeotiff.SlackBuild')
-rw-r--r--libraries/libgeotiff/libgeotiff.SlackBuild11
1 files changed, 8 insertions, 3 deletions
diff --git a/libraries/libgeotiff/libgeotiff.SlackBuild b/libraries/libgeotiff/libgeotiff.SlackBuild
index 59c534f8df..0bdbfef437 100644
--- a/libraries/libgeotiff/libgeotiff.SlackBuild
+++ b/libraries/libgeotiff/libgeotiff.SlackBuild
@@ -25,7 +25,7 @@
# Maintained by David Spencer <baildon.research@googlemail.com>
PRGNAM=libgeotiff
-VERSION=${VERSION:-1.3.0}
+VERSION=${VERSION:-1.4.0}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -79,9 +79,11 @@ LDFLAGS="-L/usr/lib${LIBDIRSUFFIX}" \
--libdir=/usr/lib${LIBDIRSUFFIX} \
--sysconfdir=/etc \
--localstatedir=/var \
+ --mandir=/usr/man \
--datadir=/usr/share \
--infodir=/usr/info \
- --with-libtiff=/usr/lib \
+ --with-zlib=yes \
+ --with-jpeg=yes \
--disable-static \
--build=$ARCH-slackware-linux
@@ -91,9 +93,12 @@ make install DESTDIR=$PKG
find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
+find $PKG/usr/man -type f -exec gzip -9 {} \;
+for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done
+
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a \
- ChangeLog LICENSE README* \
+ ChangeLog LICENSE README \
$PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild