1
0

Makefile 972 B

12345678910111213141516171819202122232425262728293031323334
  1. # This file is part of the OpenADK project. OpenADK is copyrighted
  2. # material, please see the LICENCE file in the top-level directory.
  3. include ${TOPDIR}/rules.mk
  4. PKG_NAME:= tiff
  5. PKG_VERSION:= 3.9.4
  6. PKG_RELEASE:= 4
  7. PKG_MD5SUM:= 2006c1bdd12644dbf02956955175afd6
  8. PKG_DESCR:= A library for reading/writing TIFF images
  9. PKG_SECTION:= libs
  10. PKG_URL:= http://www.libtiff.org/
  11. PKG_SITES:= ftp://ftp.remotesensing.org/pub/libtiff/
  12. PKG_NEED_CXX:= 1
  13. PKG_LIBNAME:= libtiff
  14. PKG_OPTS:= dev
  15. ifeq ($(ADK_STATIC),y)
  16. PKG_OPTS+= libonly
  17. endif
  18. include ${TOPDIR}/mk/package.mk
  19. $(eval $(call PKG_template,LIBTIFF,libtiff,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION},${PKG_OPTS}))
  20. TARGET_CFLAGS:= $(filter-out -flto,$(TARGET_CFLAGS))
  21. CONFIGURE_ARGS+= --disable-cxx \
  22. --disable-rpath
  23. libtiff-install:
  24. ${INSTALL_DIR} ${IDIR_LIBTIFF}/usr/lib
  25. ${CP} ${WRKINST}/usr/lib/libtiff.so* ${IDIR_LIBTIFF}/usr/lib/
  26. include ${TOPDIR}/mk/pkg-bottom.mk