1 # This file is part of the OpenADK project. OpenADK is copyrighted
2 # material, please see the LICENCE file in the top-level directory.
4 include ${ADK_TOPDIR}/rules.mk
9 PKG_HASH
:= a265409781e4b3edcc4ef822533071b34c3dc6790b893963809b9fe221befe07
10 PKG_DESCR
:= tcl scripting language
11 PKG_SECTION
:= dev
/lang
12 PKG_SITES
:= ${MASTER_SITE_SOURCEFORGE
:=tcl
/}
14 DISTFILES
:= tcl
${PKG_VERSION}-src.
tar.gz
15 WRKDIST
= ${WRKDIR}/tcl
${PKG_VERSION}
16 WRKSRC
= ${WRKDIST}/unix
18 include ${ADK_TOPDIR}/mk
/package.mk
20 $(eval
$(call PKG_template
,TCL
,tcl
,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
22 TARGET_CFLAGS
:= $(filter-out -ffast-math
,$(TARGET_CFLAGS
))
24 CONFIGURE_ENV
+= tcl_cv_strstr_unbroken
=ok \
25 tcl_cv_strtod_buggy
=ok \
26 tcl_cv_strtod_unbroken
=ok \
27 tcl_cv_strtoul_unbroken
=ok \
28 tcl_cv_sys_version
="Linux-2.6"
29 CONFIGURE_ARGS
+= --enable-man-symlinks \
31 INSTALL_TARGET
= install-binaries install-libraries
34 ${INSTALL_DIR} ${IDIR_TCL}/usr
/lib
${IDIR_TCL}/usr
/bin
35 ${CP} ${WRKINST}/usr
/bin
/* ${IDIR_TCL}/usr
/bin
36 cd
${IDIR_TCL}/usr
/bin
&& ln
-sf tclsh8.5 tclsh
37 ${CP} ${WRKINST}/usr
/lib
/*.so
* ${IDIR_TCL}/usr
/lib
38 ${CP} ${WRKINST}/usr
/lib
/tcl8
${IDIR_TCL}/usr
/lib
39 ${CP} ${WRKINST}/usr
/lib
/tcl8.6
${IDIR_TCL}/usr
/lib
41 include ${ADK_TOPDIR}/mk
/pkg-bottom.mk