summaryrefslogtreecommitdiff
path: root/package/tiff/tiff.mk
blob: ca6f562af959e9e1b00835af54bfdb9ad037d597 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
#############################################################
#
# tiff
#
#############################################################
TIFF_VERSION:=3.8.2
TIFF_SITE:=ftp://ftp.remotesensing.org/pub/libtiff
TIFF_SOURCE:=tiff-$(TIFF_VERSION).tar.gz
TIFF_LIBTOOL_PATCH = NO
TIFF_INSTALL_STAGING = YES
TIFF_INSTALL_TARGET = YES
TIFF_CONF_OPT = \
	--enable-shared \
	--enable-static \
	--disable-cxx \
	--without-x \

TIFF_DEPENDENCIES = host-pkg-config zlib jpeg

define TIFF_INSTALL_TARGET_CMDS
	-cp -a $(@D)/libtiff/.libs/libtiff.so* $(TARGET_DIR)/usr/lib/
endef

$(eval $(call AUTOTARGETS,package,tiff))