1 # Contributor: Nick B <Shirakawasuna at gmail _dot_com>
5 pkgdesc="Provides the extra language support needed to build large Tcl/Tk applications"
7 url="http://incrtcl.sourceforge.net/"
9 depends=('glibc' 'tcl')
10 source=(http://downloads.sourceforge.net/project/incrtcl/[Incr\ Tcl_Tk]-source/3.4/itcl3.4b1.tar.gz
14 cd $srcdir/itcl$pkgver
15 patch -p0 -i ../configure.patch || return 1
16 if [ `uname -m` = "x86_64" ]; then
17 ./configure --prefix=/usr --enable-64bit || return 1
19 ./configure --prefix=/usr || return 1
22 make DESTDIR=$pkgdir install
23 install -Dm644 license.terms $pkgdir/usr/share/licenses/$pkgname/LICENSE
24 chmod 644 $pkgdir/usr/lib/itcl3.4/libitclstub3.4.a
26 md5sums=('e4c97750c08ab47e960b91911fdd0132'
27 'c13ebc37249cd5640284b1bed5c58bf9')