updated on Thu Jan 26 16:09:46 UTC 2012
[aur-mirror.git] / xotcl / PKGBUILD
blobb773368e72fed504a73b14974dfc659616a1fe34
1 pkgname=xotcl
2 pkgver=1.6.5
3 pkgrel=1
4 pkgdesc="Extended Object Tcl"
5 arch=('i686')
6 url='http://media.wu-wien.ac.at'
7 license=('MIT')
8 depends=('tcl')
10 source=(http://media.wu-wien.ac.at/download/${pkgname}-${pkgver}.tar.gz
11     ${pkgname}-${pkgver}.patch)
12 md5sums=('7e903c77d9f40cac2605ab84223b4dba'
13          '607ed91fb971bc2e4475a29476328b6f')
14 build() {
15   cd $startdir/src/$pkgname-$pkgver
16   # Apply patch to tcl.m4 and configure scripts to delete 'generic' from pathes to tclInt.h
17   msg "Patch tcl.m4 and configure fies..."
18   patch -Np1 -i ../${pkgname}-${pkgver}.patch || return 1
19   
20   msg "Starting make..."
21   ./configure --prefix=/usr --with-all --enable-threads
22   make || return 1
24   make DESTDIR=${startdir}/pkg install