distribution/packages/graphics/tiff/package.mk

30 lines
1 KiB
Makefile
Raw Normal View History

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"
PKG_VERSION="4.5.0"
2022-02-05 14:23:32 +00:00
PKG_LICENSE="OSS"
PKG_SITE="http://www.remotesensing.org/libtiff/"
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."
PKG_BUILD_FLAGS="+pic -gold"
2022-02-05 14:23:32 +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() {
rm -rf ${INSTALL}/usr/bin
2022-02-05 14:23:32 +00:00
}