blob: c8bfd62b6dee0112e339dc96a236c1ddf8652446 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
|
# Mantainer: Angelo Salton <gsalton4@hotmail.com>
pkgname=dynare
pkgver=4.6.1
pkgrel=1
pkgdesc="A software platform for handling (economic) DSGE and OLG models."
arch=('x86_64')
url="http://www.dynare.org/"
license=('GPL')
depends=('octave' 'boost' 'blas' 'gsl' 'libmatio')
makedepends=('gcc-fortran')
optdepends=('texlive-core')
source=(http://www.dynare.org/release/source/${pkgname}-${pkgver}.tar.xz)
md5sums=('7cd9f059b74bb91f53a5cac4474733cd')
build() {
cd "$srcdir/$pkgname-$pkgver"
./configure --prefix=/usr # simple configuration (Octave)
# /configure --with-matlab=/usr/local/MATLAB/R2018a MATLAB_VERSION=R2018a --enable-openmp # example MATLAB configuration
make
#make pdf # increases the number of dependencies
make html
make info
}
check() {
cd "$srcdir/$pkgname-$pkgver"
#make check # /*takes a long time!*/
}
package() {
cd "$srcdir/$pkgname-$pkgver"
make DESTDIR="$pkgdir/" install
}
|