Makefile 1.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940
  1. # $Id$
  2. #-
  3. # This file is part of the OpenADK project. OpenADK is copyrighted
  4. # material, please see the LICENCE file in the top-level directory.
  5. include ${TOPDIR}/rules.mk
  6. PKG_NAME:= tcl
  7. PKG_VERSION:= 8.4.18
  8. PKG_RELEASE:= 1
  9. PKG_MD5SUM:= 7d8bc95036f797b1a2b62a5a382d2cc1
  10. PKG_DESCR:= the TCL scripting language
  11. PKG_SECTION:= lang
  12. PKG_SITES:= ${MASTER_SITE_SOURCEFORGE:=tcl/}
  13. DISTFILES:= tcl${PKG_VERSION}-src.tar.gz
  14. WRKDIST= ${WRKDIR}/tcl${PKG_VERSION}
  15. WRKSRC= ${WRKDIST}/unix
  16. include ${TOPDIR}/mk/package.mk
  17. $(eval $(call PKG_template,TCL,${PKG_NAME},${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
  18. CONFIGURE_STYLE= gnu
  19. CONFIGURE_ENV+= tcl_cv_strstr_unbroken=ok \
  20. tcl_cv_strtod_buggy=ok \
  21. tcl_cv_strtod_unbroken=ok \
  22. tcl_cv_strtoul_unbroken=ok
  23. CONFIGURE_ARGS+= --enable-man-symlinks \
  24. --enable-shared
  25. BUILD_STYLE= auto
  26. INSTALL_STYLE= auto
  27. post-install:
  28. ${INSTALL_DIR} ${IDIR_TCL}/usr/lib ${IDIR_TCL}/usr/bin
  29. ${CP} ${WRKINST}/usr/bin/* ${IDIR_TCL}/usr/bin
  30. ${CP} ${WRKINST}/usr/lib/* ${IDIR_TCL}/usr/lib
  31. chmod u+w ${IDIR_TCL}/usr/lib/libtcl8.4.so # for strip
  32. include ${TOPDIR}/mk/pkg-bottom.mk