summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--extra/tk/.md5sum1
-rwxr-xr-xextra/tk/Pkgfile34
2 files changed, 35 insertions, 0 deletions
diff --git a/extra/tk/.md5sum b/extra/tk/.md5sum
new file mode 100644
index 000000000..92a54e01b
--- /dev/null
+++ b/extra/tk/.md5sum
@@ -0,0 +1 @@
+0764f63ae2106b4774c4ecb0ef391610 tk8.5.7-src.tar.gz
diff --git a/extra/tk/Pkgfile b/extra/tk/Pkgfile
new file mode 100755
index 000000000..ae1efeb0c
--- /dev/null
+++ b/extra/tk/Pkgfile
@@ -0,0 +1,34 @@
+# Description: Boîte à outils pour GUI
+# URL: http://www.tcl.tk
+# Maintainer: NuTyX core team
+# Packager: thierryn1 at hispeed dot ch
+# Depends on: tcl
+
+name=tk
+version=8.5.7
+release=1
+source=( http://downloads.sourceforge.net/tcl/${name}$version-src.tar.gz )
+
+
+
+build() {
+cd ${name}$version/unix
+case `uname -m` in
+ x86_64)
+ ./configure --prefix=/usr\
+ --enable-threads \
+ --mandir=/usr/share/man\
+ --infodir=/usr/share/info\
+ --enable-64bit;;
+ *)
+ ./configure --prefix=/usr\
+ --enable-threads \
+ --mandir=/usr/share/man\
+ --infodir=/usr/share/info\
+ --disable-64bit;;
+esac
+make
+make DESTDIR=$PKG install
+make DESTDIR=$PKG install-private-headers
+ln -svf wish8.5 $PKG/usr/bin/wish
+}