harfbuzz: update to 1.3.3
[openadk.git] / package / tcl / Makefile
bloba78ed1521f2039c8345b0a2d2f2f3da4e94ad3d3
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
6 PKG_NAME:= tcl
7 PKG_VERSION:= 8.6.6
8 PKG_RELEASE:= 1
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))
23 TARGET_LDFLAGS+= -ldl
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 \
30 --disable-rpath
31 INSTALL_TARGET= install-binaries install-libraries
33 tcl-install:
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