1 # Maintainer: Kaiting Chen <kaitocracy@gmail.com>
2 # Contributor: Stefan Husmann <stefan.husmann@t-systems.com>
3 # Contributor: Stéphane Gaudreault <Stephane.Gaudreault@gmail.com>
8 pkgdesc='Yet another computer algebra system'
10 url='http://yacas.sourceforge.net/yacas.html'
14 source=("http://yacas.sourceforge.net/backups/$pkgname-$pkgver.tar.gz"
15 'gcc4.3.patch' 'gcc4.6.patch' 'makefixes.patch' 'tests.patch')
16 md5sums=('329f149ca3ceb976a7e596b56fc3cba5'
17 '50ac0d790a6af77ce0ad347cb882996b'
18 'e3317d332247c0f1a703eacb59a0350b'
19 '7581139397002c9401467468efd1d76b'
20 '994bec6654f7ed3f38417b8ed09d95ad')
23 cd "${srcdir}/${pkgname}-${pkgver}"
24 patch -Np1 -i $srcdir/gcc4.3.patch
25 patch -Np1 -i $srcdir/gcc4.6.patch
26 patch -Np1 -i $srcdir/makefixes.patch
27 patch -Np1 -i $srcdir/tests.patch
28 ./configure --prefix=/usr --enable-server
33 cd "${srcdir}/${pkgname}-${pkgver}"
34 make DESTDIR=$pkgdir install