summaryrefslogtreecommitdiffstats
path: root/extra/tk/Pkgfile
blob: b645da56f23d3cdf47ac05716115d799eae30eca (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
34
# 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:

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