libtiff: Build with jbigkit support

This commit is contained in:
Alexpux
2014-08-25 14:45:29 +04:00
parent de8c3fd295
commit 1806f3e7d5

View File

@@ -1,15 +1,18 @@
# Maintainer: Alexey Pavlov <alexpux@gmail.com>
_realname=libtiff
pkgname="${MINGW_PACKAGE_PREFIX}-${_realname}"
pkgver=4.0.3
pkgrel=2
pkgrel=3
pkgdesc="Library for manipulation of TIFF images (mingw-w64)"
arch=('any')
url="http://www.remotesensing.org/libtiff"
license=("custom")
depends=("${MINGW_PACKAGE_PREFIX}-gcc-libs" "${MINGW_PACKAGE_PREFIX}-libjpeg-turbo" "${MINGW_PACKAGE_PREFIX}-zlib")
depends=("${MINGW_PACKAGE_PREFIX}-gcc-libs"
"${MINGW_PACKAGE_PREFIX}-jbigkit"
"${MINGW_PACKAGE_PREFIX}-libjpeg-turbo"
"${MINGW_PACKAGE_PREFIX}-xz"
"${MINGW_PACKAGE_PREFIX}-zlib")
makedepends=("${MINGW_PACKAGE_PREFIX}-gcc")
options=('staticlibs' 'strip')
source=("ftp://ftp.remotesensing.org/pub/libtiff/tiff-${pkgver}.tar.gz")
@@ -27,10 +30,16 @@ build() {
--host=${MINGW_CHOST} \
--target=${MINGW_CHOST} \
--enable-static \
--enable-shared
--enable-shared \
--without-x
make
}
check() {
cd "${srcdir}/build-${CARCH}"
make check
}
package() {
cd "${srcdir}/build-${CARCH}"
make DESTDIR="${pkgdir}" install