summaryrefslogtreecommitdiffstats
path: root/extra/tk/Pkgfile
blob: 9f171a43da9f600d3d660a8e6900242a257b38f9 (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: tcl,xorg-libx11

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