mirror of
https://gitdl.cn/https://github.com/chakralinux/core.git
synced 2025-02-06 13:57:18 +08:00
37 lines
1.1 KiB
Bash
37 lines
1.1 KiB
Bash
#
|
|
# Platform Packages for Chakra, part of chakra-project.org
|
|
#
|
|
# maintainer (i686): Phil Miller <philm[at]chakra-project[dog]org>
|
|
# maintainer (x86_64): Manuel Tortosa <manutortosa[at]chakra-project[dot]org>
|
|
|
|
# include global config
|
|
source ../_buildscripts/${current_repo}-${_arch}-cfg.conf
|
|
|
|
pkgname=octave
|
|
pkgver=3.2.4
|
|
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')
|
|
makedepends=('texinfo' 'graphicsmagick' 'gcc-fortran' 'umfpack')
|
|
optdepends=('texinfo: for help-support in octave'
|
|
'gnuplot: alternative plotting'
|
|
'umfpack: LU decomposition of some large sparse matrices')
|
|
source=("ftp://ftp.octave.org/pub/octave/octave-$pkgver.tar.bz2")
|
|
options=('!emptydirs')
|
|
install=octave.install
|
|
md5sums=('608196657f4fa010420227b77333bb71')
|
|
|
|
build() {
|
|
cd ${srcdir}/${pkgname}-${pkgver}
|
|
|
|
./configure --prefix=/usr --libexecdir=/usr/lib \
|
|
--enable-shared --disable-static
|
|
|
|
make || return 1
|
|
make DESTDIR="${pkgdir}" install || return 1
|
|
|
|
}
|