distribution/packages/graphics/tiff/package.mk

29 lines
1 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.6.0"
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 -gold"
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"
post_makeinstall_target() {
rm -rf ${INSTALL}/usr/bin
}