libraries/libgeotiff: Updated for version 1.2.5

This commit is contained in:
David Spencer 2010-05-13 00:30:41 +02:00 committed by Robby Workman
parent 0e68d2c1ff
commit c190c59365
4 changed files with 33 additions and 26 deletions

View file

@ -1,6 +1,2 @@
libgeotiff (GeoTIFF support library) It is designed for reading and writing
coordinate system information from/to GeoTIFF files.
The library depends on libtiff.

View file

@ -16,18 +16,23 @@ OUTPUT=${OUTPUT:-/tmp}
if [ "$ARCH" = "i486" ]; then
SLKCFLAGS="-O2 -march=i486 -mtune=i686"
LIBDIRSUFFIX=""
elif [ "$ARCH" = "i686" ]; then
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
LIBDIRSUFFIX=""
elif [ "$ARCH" = "x86_64" ]; then
SLKCFLAGS="-O2 -fPIC"
LIBDIRSUFFIX="64"
fi
set -e
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
rm -rf $PRGNAM-$VERSION
tar xvf $CWD/$PRGNAM-$VERSION.tar.gz || exit 1
cd $PRGNAM-$VERSION || exit 1
tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
cd $PRGNAM-$VERSION
chown -R root:root .
find . \
\( -perm 777 -o -perm 775 -o -perm 711 -o -perm 555 -o -perm 511 \) \
@ -40,28 +45,32 @@ CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
./configure \
--prefix=/usr \
--libdir=/usr/lib${LIBDIRSUFFIX} \
--sysconfdir=/etc \
--localstatedir=/var \
--datadir=/usr/share \
--infodir=/usr/info \
--with-libtiff=/usr/lib \
|| exit 1
make || exit 1
make install DESTDIR=$PKG || exit 1
--build=$ARCH-slackware-linux
make
make install DESTDIR=$PKG
( cd $PKG
find . | xargs file | grep "executable" | grep ELF | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
find . | xargs file | grep "shared object" | grep ELF | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null
find . | xargs file | grep "executable" | grep ELF | cut -f 1 -d : | \
xargs strip --strip-unneeded 2> /dev/null || true
find . | xargs file | grep "shared object" | grep ELF | cut -f 1 -d : | \
xargs strip --strip-unneeded 2> /dev/null
)
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a ChangeLog LICENSE HOWTO-RELEASE README* docs/* $PKG/usr/doc/$PRGNAM-$VERSION
cp -a \
ChangeLog LICENSE HOWTO-RELEASE README* docs/* \
$PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
cd $PKG
/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.tgz
/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}

View file

@ -2,7 +2,9 @@ PRGNAM="libgeotiff"
VERSION="1.2.5"
HOMEPAGE="http://www.remotesensing.org/geotiff/geotiff.html"
DOWNLOAD="http://download.osgeo.org/geotiff/libgeotiff/libgeotiff-1.2.5.tar.gz"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
MD5SUM="000f247a88510f1b38d4b314d1e47048"
MAINTAINER="Marco Cecchetti"
EMAIL="mrc.ildp@gmail.com"
APPROVED="David Somero"
MAINTAINER="David Spencer"
EMAIL="nobbutl@yahoo.co.uk"
APPROVED="rworkman"

View file

@ -7,13 +7,13 @@
|-----handy-ruler------------------------------------------------------|
libgeotiff: libgeotiff (GeoTIFF support library)
libgeotiff: It is designed for reading and writing coordinate system
libgeotiff:
libgeotiff: libgeotiff is designed for reading and writing coordinate system
libgeotiff: information from/to GeoTIFF files
libgeotiff:
libgeotiff: The library depends on libtiff.
libgeotiff:
libgeotiff:
libgeotiff:
libgeotiff:
libgeotiff:
libgeotiff:
libgeotiff:
libgeotiff:
libgeotiff:
libgeotiff:
libgeotiff:
libgeotiff:
libgeotiff: