2022-02-05 14:23:32 +00:00
|
|
|
# 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"
|
2023-01-07 23:34:43 +00:00
|
|
|
PKG_VERSION="4.5.0"
|
2022-02-05 14:23:32 +00:00
|
|
|
PKG_LICENSE="OSS"
|
|
|
|
PKG_SITE="http://www.remotesensing.org/libtiff/"
|
2023-01-07 23:34:43 +00:00
|
|
|
PKG_URL="http://download.osgeo.org/libtiff/${PKG_NAME}-${PKG_VERSION}.tar.gz"
|
2022-02-05 14:23:32 +00:00
|
|
|
PKG_DEPENDS_TARGET="toolchain libjpeg-turbo zlib"
|
|
|
|
PKG_LONGDESC="libtiff is a library for reading and writing TIFF files."
|
2023-01-07 23:34:43 +00:00
|
|
|
PKG_BUILD_FLAGS="+pic -gold"
|
2022-02-05 14:23:32 +00:00
|
|
|
|
2023-01-07 23:34:43 +00:00
|
|
|
PKG_CMAKE_OPTS_TARGET="-DBUILD_SHARED_LIBS=ON \
|
|
|
|
-Dtiff-tools=OFF \
|
|
|
|
-Dtiff-tests=OFF \
|
|
|
|
-Dtiff-contrib=OFF \
|
|
|
|
-Dtiff-docs=OFF \
|
|
|
|
-Dmdi=OFF \
|
|
|
|
-Djbig=OFF \
|
|
|
|
-Dlzma=OFF \
|
|
|
|
-Dzstd=OFF \
|
|
|
|
-Dwebp=OFF \
|
|
|
|
-Dcxx=ON \
|
|
|
|
-Djpeg=ON"
|
2022-02-05 14:23:32 +00:00
|
|
|
|
|
|
|
post_makeinstall_target() {
|
2023-01-07 23:34:43 +00:00
|
|
|
rm -rf ${INSTALL}/usr/bin
|
2022-02-05 14:23:32 +00:00
|
|
|
}
|