summaryrefslogtreecommitdiffstats
path: root/tk/Pkgfile
blob: ea0442b06b86053beedb36fcf2393f9858cc1da2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
# Description: Boît à  outils pour GUI
# URL: http://www.tcl.tk
# Maintainer: NuTyX core team
# Packager: thierryn1 at hispeed dot ch
# Depends on: tcl, xorg-libx11
# Run on: tcl,xorg-libx11

name=tk
version=8.5.12
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
}