# Description: Library for manipulation of TIFF (Tag Image File Format) images
# URL:         http://libtiff.maptools.org/
# Maintainer:  Fredrik Rinnestam, fredrik at crux dot nu
# Depends on:  libjpeg, zlib

name=libtiff
version=4.0.3
release=1
source=(http://download.osgeo.org/libtiff/tiff-$version.tar.gz)

build() {
    cd tiff-$version
    ./configure --prefix=/usr --mandir=/usr/man
    make
    make DESTDIR=$PKG install
    rm -rf $PKG/usr/{bin,share,man/man1}
}