mirror of
https://gitdl.cn/https://github.com/chakralinux/core.git
synced 2025-02-05 09:07:14 +08:00
40 lines
1.1 KiB
Bash
40 lines
1.1 KiB
Bash
#
|
|
# Platform Packages for Chakra, part of chakra-project.org
|
|
#
|
|
# maintainer abveritas@chakra-project.org
|
|
|
|
pkgname=octave
|
|
pkgver=3.6.1
|
|
pkgrel=1
|
|
pkgdesc="A high-level language, primarily intended for numerical computations."
|
|
arch=('i686' 'x86_64')
|
|
url="http://www.octave.org"
|
|
license=('GPL')
|
|
depends=('fftw' 'pcre' 'curl' 'lapack' 'libx11' 'graphicsmagick' 'glpk' 'hdf5' 'gcc-libs' 'qhull')
|
|
makedepends=('texinfo' 'graphicsmagick' 'gcc-fortran' 'umfpack' 'python')
|
|
optdepends=('texinfo: for help-support in octave'
|
|
'gnuplot: alternative plotting'
|
|
'umfpack: LU decomposition of some large sparse matrices')
|
|
source=("ftp://ftp.gnu.org/gnu/octave/octave-$pkgver.tar.bz2")
|
|
options=('!emptydirs')
|
|
install=octave.install
|
|
sha1sums=('46fdc0b3d7db1b0266975a7443e26769c939a9c7')
|
|
|
|
build() {
|
|
cd ${srcdir}/${pkgname}-${pkgver}
|
|
|
|
# http://www.nabble.com/Random-rounding-errors-td16010966.html
|
|
FFLAGS="-O -ffloat-store" \
|
|
|
|
./configure --prefix=/usr --libexecdir=/usr/lib \
|
|
--enable-shared --disable-static --disable-docs
|
|
|
|
make
|
|
}
|
|
|
|
package(){
|
|
cd ${srcdir}/${pkgname}-${pkgver}
|
|
|
|
make DESTDIR="${pkgdir}" install
|
|
}
|