1
0

Makefile 1.2 KB

123456789101112131415161718192021222324252627282930313233343536373839
  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_STYLE:= gnu
  18. CONFIGURE_ENV+= tcl_cv_strstr_unbroken=ok \
  19. tcl_cv_strtod_buggy=ok \
  20. tcl_cv_strtod_unbroken=ok \
  21. tcl_cv_strtoul_unbroken=ok
  22. CONFIGURE_ARGS+= --enable-man-symlinks
  23. BUILD_STYLE:= auto
  24. INSTALL_STYLE:= auto
  25. INSTALL_TARGET= install-binaries install-libraries
  26. post-install:
  27. ${INSTALL_DIR} ${IDIR_TCL}/usr/lib ${IDIR_TCL}/usr/bin
  28. ${CP} ${WRKINST}/usr/bin/* ${IDIR_TCL}/usr/bin
  29. ${CP} ${WRKINST}/usr/lib/*.so* ${IDIR_TCL}/usr/lib
  30. chmod u+w ${IDIR_TCL}/usr/lib/libtcl8.5.so # for strip
  31. include ${TOPDIR}/mk/pkg-bottom.mk