diff options
Diffstat (limited to 'extra/tk/Pkgfile')
-rwxr-xr-x | extra/tk/Pkgfile | 34 |
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 +} |