summaryrefslogtreecommitdiffstats
path: root/extra/tk/Pkgfile
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/Pkgfile
parentf40409d5a4fa2296b6528d7b5f2cbff9740a7e86 (diff)
downloadnutyx-pakxe-e256987ff327bc6cbab6703d4260117823f96155.tar.gz
nutyx-pakxe-e256987ff327bc6cbab6703d4260117823f96155.tar.bz2
nutyx-pakxe-e256987ff327bc6cbab6703d4260117823f96155.tar.xz
nutyx-pakxe-e256987ff327bc6cbab6703d4260117823f96155.zip
Ajout de tk#8.5.5-2
Diffstat (limited to 'extra/tk/Pkgfile')
-rwxr-xr-xextra/tk/Pkgfile34
1 files changed, 34 insertions, 0 deletions
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
+}