summaryrefslogtreecommitdiff
path: root/package/tcl
diff options
context:
space:
mode:
authorwbx <wbx@hydrogenium.(none)>2009-05-17 14:41:34 +0200
committerwbx <wbx@hydrogenium.(none)>2009-05-17 14:41:34 +0200
commit219a6dab8995aad9ac4860cc1a84d6f3509a03a4 (patch)
treeb9c0f3c43aebba2fcfef777592d0add39f2072f4 /package/tcl
Initial import
Diffstat (limited to 'package/tcl')
-rw-r--r--package/tcl/Config.in8
-rw-r--r--package/tcl/Makefile38
-rw-r--r--package/tcl/ipkg/tcl.control4
3 files changed, 50 insertions, 0 deletions
diff --git a/package/tcl/Config.in b/package/tcl/Config.in
new file mode 100644
index 000000000..292b447e9
--- /dev/null
+++ b/package/tcl/Config.in
@@ -0,0 +1,8 @@
+config ADK_PACKAGE_TCL
+ prompt "tcl............................... TCL"
+ tristate
+ default n
+ help
+ The TCL scripting language.
+
+ http://www.tcl.tk/
diff --git a/package/tcl/Makefile b/package/tcl/Makefile
new file mode 100644
index 000000000..03bbb5975
--- /dev/null
+++ b/package/tcl/Makefile
@@ -0,0 +1,38 @@
+# $Id$
+#-
+# This file is part of the OpenADK project. OpenADK is copyrighted
+# material, please see the LICENCE file in the top-level directory.
+
+include ${TOPDIR}/rules.mk
+
+PKG_NAME= tcl
+PKG_VERSION= 8.4.18
+PKG_RELEASE= 1
+PKG_MD5SUM= 7d8bc95036f797b1a2b62a5a382d2cc1
+DISTFILES= tcl${PKG_VERSION}-src.tar.gz
+MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=tcl/}
+
+WRKDIST= ${WRKDIR}/tcl${PKG_VERSION}
+WRKSRC= ${WRKDIST}/unix
+
+include ${TOPDIR}/mk/package.mk
+
+$(eval $(call PKG_template,TCL,tcl,${PKG_VERSION}-${PKG_RELEASE},${ARCH}))
+
+CONFIGURE_STYLE= gnu
+CONFIGURE_ENV+= tcl_cv_strstr_unbroken=ok \
+ tcl_cv_strtod_buggy=ok \
+ tcl_cv_strtod_unbroken=ok \
+ tcl_cv_strtoul_unbroken=ok
+CONFIGURE_ARGS+= --enable-man-symlinks \
+ --enable-shared
+BUILD_STYLE= auto
+INSTALL_STYLE= auto
+
+post-install:
+ ${INSTALL_DIR} ${IDIR_TCL}/usr/lib ${IDIR_TCL}/usr/bin
+ ${CP} ${WRKINST}/usr/bin/* ${IDIR_TCL}/usr/bin
+ ${CP} ${WRKINST}/usr/lib/* ${IDIR_TCL}/usr/lib
+ chmod u+w ${IDIR_TCL}/usr/lib/libtcl8.4.so # for strip
+
+include ${TOPDIR}/mk/pkg-bottom.mk
diff --git a/package/tcl/ipkg/tcl.control b/package/tcl/ipkg/tcl.control
new file mode 100644
index 000000000..8e96dd264
--- /dev/null
+++ b/package/tcl/ipkg/tcl.control
@@ -0,0 +1,4 @@
+Package: tcl
+Priority: optional
+Section: devel
+Description: the TCL scripting language