dc28cd2250
Signed-off-by: Ian Leonard <antonlacon@gmail.com>
31 lines
1.2 KiB
Makefile
31 lines
1.2 KiB
Makefile
# SPDX-License-Identifier: GPL-2.0-or-later
|
|
# Copyright (C) 2009-2016 Stephan Raue (stephan@openelec.tv)
|
|
# Copyright (C) 2018-present Team LibreELEC (https://libreelec.tv)
|
|
|
|
PKG_NAME="tiff"
|
|
PKG_VERSION="4.2.0"
|
|
PKG_SHA256="eb0484e568ead8fa23b513e9b0041df7e327f4ee2d22db5a533929dfc19633cb"
|
|
PKG_LICENSE="OSS"
|
|
PKG_SITE="http://www.remotesensing.org/libtiff/"
|
|
PKG_URL="http://download.osgeo.org/libtiff/${PKG_NAME}-${PKG_VERSION}.tar.gz"
|
|
PKG_DEPENDS_TARGET="toolchain libjpeg-turbo zlib"
|
|
PKG_LONGDESC="libtiff is a library for reading and writing TIFF files."
|
|
PKG_BUILD_FLAGS="+pic"
|
|
PKG_TOOLCHAIN="configure"
|
|
|
|
PKG_CONFIGURE_OPTS_TARGET="--enable-static \
|
|
--disable-shared \
|
|
--disable-mdi \
|
|
--disable-jbig \
|
|
--disable-lzma \
|
|
--disable-zstd \
|
|
--disable-webp \
|
|
--enable-cxx \
|
|
--with-jpeg-lib-dir=${SYSROOT_PREFIX}/usr/lib \
|
|
--with-jpeg-include-dir=${SYSROOT_PREFIX}/usr/include \
|
|
--without-x"
|
|
|
|
post_makeinstall_target() {
|
|
rm -rf ${INSTALL}/usr/bin
|
|
}
|