diff options
Diffstat (limited to 'libraries/libgeotiff/libgeotiff.SlackBuild')
-rw-r--r-- | libraries/libgeotiff/libgeotiff.SlackBuild | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/libraries/libgeotiff/libgeotiff.SlackBuild b/libraries/libgeotiff/libgeotiff.SlackBuild index 8899c5c987..0f5e0295ce 100644 --- a/libraries/libgeotiff/libgeotiff.SlackBuild +++ b/libraries/libgeotiff/libgeotiff.SlackBuild @@ -4,16 +4,14 @@ # Written by Marco Cecchetti (mrc.ildp@gmail.com) PRGNAM=libgeotiff -VERSION=${VERSION:-1.2.5} +VERSION=${VERSION:-1.3.0} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} -# Automatically determine the architecture we're building on: if [ -z "$ARCH" ]; then case "$( uname -m )" in i?86) ARCH=i486 ;; arm*) ARCH=arm ;; - # Unless $ARCH is already set, use uname -m for all other archs: *) ARCH=$( uname -m ) ;; esac fi @@ -52,9 +50,9 @@ find . \ \( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \ -exec chmod 644 {} \; - CFLAGS="$SLKCFLAGS" \ CXXFLAGS="$SLKCFLAGS" \ +LDFLAGS="-L/usr/lib${LIBDIRSUFFIX}" \ ./configure \ --prefix=/usr \ --libdir=/usr/lib${LIBDIRSUFFIX} \ @@ -63,6 +61,7 @@ CXXFLAGS="$SLKCFLAGS" \ --datadir=/usr/share \ --infodir=/usr/info \ --with-libtiff=/usr/lib \ + --disable-static \ --build=$ARCH-slackware-linux make @@ -73,7 +72,7 @@ find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \ mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION cp -a \ - ChangeLog LICENSE HOWTO-RELEASE README* docs/* \ + ChangeLog LICENSE README* \ $PKG/usr/doc/$PRGNAM-$VERSION cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild |