Makefile 974 B

1234567891011121314151617181920212223242526272829303132333435
  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:= libtiff
  5. PKG_VERSION:= 3.8.2
  6. PKG_RELEASE:= 1
  7. PKG_MD5SUM:= fbb6f446ea4ed18955e2714934e5b698
  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. DISTFILES:= tiff-${PKG_VERSION}.tar.gz
  13. WRKDIST= ${WRKDIR}/tiff-${PKG_VERSION}
  14. ifeq ($(ADK_STATIC),y)
  15. PKG_OPTS:= libonly
  16. endif
  17. include ${TOPDIR}/mk/package.mk
  18. $(eval $(call PKG_template,LIBTIFF,libtiff,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION},${PKG_OPTS}))
  19. CONFIGURE_STYLE= gnu
  20. CONFIGURE_ARGS+= --disable-cxx
  21. BUILD_STYLE= auto
  22. INSTALL_STYLE= auto
  23. post-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