1
0

Makefile 1.1 KB

123456789101112131415161718192021222324252627282930313233343536
  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.5.8
  6. PKG_RELEASE:= 1
  7. PKG_MD5SUM:= 7f123e53b3daaaba2478d3af5a0752e3
  8. PKG_DESCR:= 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. TCFLAGS+= -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. CONFIGURE_ARGS+= --enable-man-symlinks
  22. INSTALL_TARGET= install-binaries install-libraries
  23. post-install:
  24. ${INSTALL_DIR} ${IDIR_TCL}/usr/lib ${IDIR_TCL}/usr/bin
  25. ${CP} ${WRKINST}/usr/bin/* ${IDIR_TCL}/usr/bin
  26. ${CP} ${WRKINST}/usr/lib/*.so* ${IDIR_TCL}/usr/lib
  27. chmod u+w ${IDIR_TCL}/usr/lib/libtcl8.5.so # for strip
  28. include ${TOPDIR}/mk/pkg-bottom.mk