updated on Sun Jan 22 16:00:49 UTC 2012
[aur-mirror.git] / euler / PKGBUILD
blob3be56ee3840637571b8ebfaede9cdf416c10b33e
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>
4 pkgname=euler
5 pkgver=1.61.0
6 pkgrel=6
7 pkgdesc="Mathematical programming environment like MatLab or Octave"
8 arch=('i686' 'x86_64')
9 options=('docs')
10 url="http://euler.sourceforge.net/index.html"
11 license=('GPL')
12 depends=('gtk2')
13 source=(http://downloads.sourceforge.net/sourceforge/${pkgname}/${pkgname}-${pkgver}.tgz)
14 md5sums=('4a45d7aaba2b73c7978e6d5623141103')
16 build() {
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
21   make 
22   make DESTDIR=$pkgdir install