300f9c9c9d
Thanks to the pkgparentdir and pkgname functions, we can rewrite the AUTOTARGETS macro in a way that avoids the need for each package to repeat its name and the directory in which it is present. [Peter: pkgdir->pkgparentdir] Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
22 lines
528 B
Makefile
22 lines
528 B
Makefile
#############################################################
|
|
#
|
|
# tiff
|
|
#
|
|
#############################################################
|
|
TIFF_VERSION:=3.9.4
|
|
TIFF_SITE:=ftp://ftp.remotesensing.org/pub/libtiff
|
|
TIFF_SOURCE:=tiff-$(TIFF_VERSION).tar.gz
|
|
TIFF_INSTALL_STAGING = YES
|
|
TIFF_INSTALL_TARGET = YES
|
|
TIFF_CONF_OPT = \
|
|
--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))
|