baremetal fix
[openadk.git] / package / libtiff / Makefile
blob7c0e72fcefedd3c3a5bd89f0f6532ecafa88c729
1 # This file is part of the OpenADK project. OpenADK is copyrighted
2 # material, please see the LICENCE file in the top-level directory.
4 include ${ADK_TOPDIR}/rules.mk
6 PKG_NAME:= tiff
7 PKG_VERSION:= 4.0.8
8 PKG_RELEASE:= 1
9 PKG_HASH:= 59d7a5a8ccd92059913f246877db95a2918e6c04fb9d43fd74e5c3390dac2910
10 PKG_DESCR:= library for reading/writing tiff images
11 PKG_SECTION:= libs/image
12 PKG_NEEDS:= c++
13 PKG_BUILDDEP:= cmake-host zlib xz
14 PKG_URL:= http://simplesystems.org/libtiff/
15 PKG_SITES:= http://download.osgeo.org/libtiff/
16 PKG_LIBNAME:= libtiff
17 PKG_OPTS:= dev
19 DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.gz
21 include ${ADK_TOPDIR}/mk/package.mk
23 $(eval $(call PKG_template,LIBTIFF,libtiff,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION},${PKG_OPTS}))
25 CONFIG_STYLE:= cmake
27 libtiff-install:
28 ${INSTALL_DIR} ${IDIR_LIBTIFF}/usr/lib
29 ${CP} ${WRKINST}/usr/lib/libtiff.so* ${IDIR_LIBTIFF}/usr/lib/
31 include ${ADK_TOPDIR}/mk/pkg-bottom.mk