summaryrefslogtreecommitdiffstats
path: root/extra/tk
diff options
context:
space:
mode:
authorThierry N <thierryn1 at hispeed dot ch>2009-08-12 20:52:01 +0200
committerThierry N <thierryn1 at hispeed dot ch>2009-08-12 20:52:01 +0200
commite256987ff327bc6cbab6703d4260117823f96155 (patch)
treebf90f158b2dcad0ee0682a0b2536d47778c65b61 /extra/tk
parentf40409d5a4fa2296b6528d7b5f2cbff9740a7e86 (diff)
downloadnutyx-extra-e256987ff327bc6cbab6703d4260117823f96155.tar.gz
nutyx-extra-e256987ff327bc6cbab6703d4260117823f96155.tar.bz2
nutyx-extra-e256987ff327bc6cbab6703d4260117823f96155.tar.xz
nutyx-extra-e256987ff327bc6cbab6703d4260117823f96155.zip
Ajout de tk#8.5.5-2
Diffstat (limited to 'extra/tk')
-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
+}