summaryrefslogtreecommitdiff
path: root/libraries/libgeotiff/libgeotiff.SlackBuild
diff options
context:
space:
mode:
authorDavid Spencer <baildon.research@googlemail.com>2010-07-02 19:28:46 -0500
committerErik Hanson <erik@slackbuilds.org>2010-07-03 02:31:43 -0500
commit00377bb4afe8129f154c8772be4dce0671ad09d8 (patch)
treedc688fa684f4c23335dea092df6985d59dd5da78 /libraries/libgeotiff/libgeotiff.SlackBuild
parent303b82e8ec696e2d8e505ef3efadb0c2fae6ec9a (diff)
downloadslackbuilds-00377bb4afe8129f154c8772be4dce0671ad09d8.tar.gz
libraries/libgeotiff: Updated for version 1.3.0.
Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
Diffstat (limited to 'libraries/libgeotiff/libgeotiff.SlackBuild')
-rw-r--r--libraries/libgeotiff/libgeotiff.SlackBuild9
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