1 # Maintainer Stefan Husmann <stefan-husmann@t-online.de>
2 # Contributor: Eric Belanger <belanger@astro.umontreal.ca>
3 # Contributor: Shinlun Hsieh <yngwiexx@yahoo.com.tw>
7 pkgdesc="Mathematical programming environment like MatLab or Octave"
10 url="http://euler.sourceforge.net/index.html"
13 source=(http://downloads.sourceforge.net/sourceforge/${pkgname}/${pkgname}-${pkgver}.tgz)
14 md5sums=('4a45d7aaba2b73c7978e6d5623141103')
17 cd $srcdir/${pkgname}-${pkgver}
18 sed -i 's/extern int command_count;/static int command_count;/' src/command.c
19 sed -i 's/CLK_TCK/CLOCKS_PER_SEC/' src/main.c
20 LDFLAGS+=/lib/libm.so.6 ./configure --prefix=/usr
22 make DESTDIR=$pkgdir install