diff options
Diffstat (limited to 'libraries/libgeotiff/libgeotiff.SlackBuild')
-rw-r--r-- | libraries/libgeotiff/libgeotiff.SlackBuild | 11 |
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 |