Makefile 1.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940
  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 ${ADK_TOPDIR}/rules.mk
  4. PKG_NAME:= tcl
  5. PKG_VERSION:= 8.6.1
  6. PKG_RELEASE:= 1
  7. PKG_HASH:= 16ee769248e64ba1cae6b4834fcc4e4edd7470d881410e8d58f7dd1434343514
  8. PKG_DESCR:= tcl scripting language
  9. PKG_SECTION:= dev/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 ${ADK_TOPDIR}/mk/package.mk
  15. $(eval $(call PKG_template,TCL,tcl,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
  16. TARGET_LDFLAGS+= -ldl
  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. tcl_cv_sys_version="Linux-2.6"
  22. CONFIGURE_ARGS+= --enable-man-symlinks \
  23. --disable-rpath
  24. INSTALL_TARGET= install-binaries install-libraries
  25. tcl-install:
  26. ${INSTALL_DIR} ${IDIR_TCL}/usr/lib ${IDIR_TCL}/usr/bin
  27. ${CP} ${WRKINST}/usr/bin/* ${IDIR_TCL}/usr/bin
  28. cd ${IDIR_TCL}/usr/bin && ln -sf tclsh8.5 tclsh
  29. ${CP} ${WRKINST}/usr/lib/*.so* ${IDIR_TCL}/usr/lib
  30. ${CP} ${WRKINST}/usr/lib/tcl8 ${IDIR_TCL}/usr/lib
  31. ${CP} ${WRKINST}/usr/lib/tcl8.6 ${IDIR_TCL}/usr/lib
  32. include ${ADK_TOPDIR}/mk/pkg-bottom.mk