1
0

Makefile 1.1 KB

12345678910111213141516171819202122232425262728293031323334353637
  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:= tcl
  5. PKG_VERSION:= 8.4.18
  6. PKG_RELEASE:= 1
  7. PKG_MD5SUM:= 7d8bc95036f797b1a2b62a5a382d2cc1
  8. PKG_DESCR:= the TCL scripting language
  9. PKG_SECTION:= lang
  10. PKG_SITES:= ${MASTER_SITE_SOURCEFORGE:=tcl/}
  11. DISTFILES:= tcl${PKG_VERSION}-src.tar.gz
  12. WRKDIST= ${WRKDIR}/tcl${PKG_VERSION}
  13. WRKSRC= ${WRKDIST}/unix
  14. include ${TOPDIR}/mk/package.mk
  15. $(eval $(call PKG_template,TCL,${PKG_NAME},${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
  16. CONFIGURE_STYLE= gnu
  17. CONFIGURE_ENV+= tcl_cv_strstr_unbroken=ok \
  18. tcl_cv_strtod_buggy=ok \
  19. tcl_cv_strtod_unbroken=ok \
  20. tcl_cv_strtoul_unbroken=ok
  21. CONFIGURE_ARGS+= --enable-man-symlinks
  22. BUILD_STYLE= auto
  23. INSTALL_STYLE= auto
  24. post-install:
  25. ${INSTALL_DIR} ${IDIR_TCL}/usr/lib ${IDIR_TCL}/usr/bin
  26. ${CP} ${WRKINST}/usr/bin/* ${IDIR_TCL}/usr/bin
  27. ${CP} ${WRKINST}/usr/lib/*.so* ${IDIR_TCL}/usr/lib
  28. chmod u+w ${IDIR_TCL}/usr/lib/libtcl8.4.so # for strip
  29. include ${TOPDIR}/mk/pkg-bottom.mk