From e256987ff327bc6cbab6703d4260117823f96155 Mon Sep 17 00:00:00 2001 From: Thierry N Date: Wed, 12 Aug 2009 20:52:01 +0200 Subject: Ajout de tk#8.5.5-2 --- extra/tk/Pkgfile | 34 ++++++++++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) create mode 100755 extra/tk/Pkgfile (limited to 'extra/tk/Pkgfile') 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 +} -- cgit v1.2.3-70-g09d2