diff options
author | Nicolás Reynolds <fauno@endefensadelsl.org> | 2014-04-03 03:33:25 +0000 |
---|---|---|
committer | Nicolás Reynolds <fauno@endefensadelsl.org> | 2014-04-03 03:33:25 +0000 |
commit | 86953d17fbdfc3b8b89878f1ec5f911568657761 (patch) | |
tree | d834021be55372f5c1856313c775edffc414d3d3 /community/julia | |
parent | c667b77b6719baf541fff1a3e0a855d1ca7c6433 (diff) |
Thu Apr 3 03:29:12 UTC 2014
Diffstat (limited to 'community/julia')
-rw-r--r-- | community/julia/PKGBUILD | 80 |
1 files changed, 80 insertions, 0 deletions
diff --git a/community/julia/PKGBUILD b/community/julia/PKGBUILD new file mode 100644 index 000000000..6781c7591 --- /dev/null +++ b/community/julia/PKGBUILD @@ -0,0 +1,80 @@ +# $Id: PKGBUILD 108745 2014-04-02 16:15:39Z arodseth $ +# Maintainer: Alexander Rødseth <rodseth@gmail.com> +# Contributor: Lex Black <autumn-wind at web dot de> +# Contributor: Michael Jakl <jakl.michael@gmail.com> +# Contributor: devmotion <nospam-archlinux.org@devmotion.de> + +pkgname=julia +pkgver=0.3.0_prerelease +pkgrel=1 +pkgdesc='High-level, high-performance, dynamic programming language' +arch=('x86_64' 'i686') +url='http://julialang.org' +license=('GPL') +depends=('arpack' 'fftw' 'git' 'gmp' 'libunwind' 'mpfr' 'pcre' 'readline' 'zlib' 'llvm') # 'suitesparse' 'utf8proc' (AUR) 'intel-mkl' (AUR) +makedepends=('gcc-fortran') +optdepends=('gnuplot: If using the Gaston Package from julia') +provides=('julia') +conflicts=('julia') +options=('!emptydirs' 'staticlibs') +source=("git://github.com/JuliaLang/julia.git#commit=0684a320da") +sha256sums=('SKIP') + +build() { + make -C "$pkgname" prefix=/usr sysconfdir=/etc \ + USE_SYSTEM_LLVM=1 \ + USE_SYSTEM_LIBUNWIND=1 \ + USE_SYSTEM_READLINE=1 \ + USE_SYSTEM_PCRE=1 \ + USE_SYSTEM_LIBM=1 \ + USE_SYSTEM_OPENLIBM=0 \ + USE_SYSTEM_OPENSPECFUN=0 \ + USE_SYSTEM_BLAS=1 \ + USE_SYSTEM_LAPACK=1 \ + USE_SYSTEM_FFTW=1 \ + USE_SYSTEM_GMP=1 \ + USE_SYSTEM_MPFR=1 \ + USE_SYSTEM_ARPACK=1 \ + USE_SYSTEM_SUITESPARSE=0 \ + USE_SYSTEM_ZLIB=1 \ + USE_SYSTEM_GRISU=0 \ + USE_SYSTEM_RMATH=0 \ + USE_SYSTEM_LIBUV=0 \ + USE_SYSTEM_UTF8PROC=0 \ + USE_MKL=0 \ + USE_BLAS64=0 \ + USE_LLVM_SHLIB=0 +} + +package() { + make -C "$pkgname" DESTDIR="$pkgdir" \ + prefix=/usr sysconfdir=/etc \ + USE_SYSTEM_LLVM=1 \ + USE_SYSTEM_LIBUNWIND=1 \ + USE_SYSTEM_READLINE=1 \ + USE_SYSTEM_PCRE=1 \ + USE_SYSTEM_LIBM=1 \ + USE_SYSTEM_OPENLIBM=0 \ + USE_SYSTEM_OPENSPECFUN=0 \ + USE_SYSTEM_BLAS=1 \ + USE_SYSTEM_LAPACK=1 \ + USE_SYSTEM_FFTW=1 \ + USE_SYSTEM_GMP=1 \ + USE_SYSTEM_MPFR=1 \ + USE_SYSTEM_ARPACK=1 \ + USE_SYSTEM_SUITESPARSE=0 \ + USE_SYSTEM_ZLIB=1 \ + USE_SYSTEM_GRISU=0 \ + USE_SYSTEM_RMATH=0 \ + USE_SYSTEM_LIBUV=0 \ + USE_SYSTEM_UTF8PROC=0 \ + USE_MKL=0 \ + USE_BLAS64=0 \ + USE_LLVM_SHLIB=0 \ + install + + # Remove duplicate man-page from julia/doc + rm -rv $pkgdir/usr/share/julia/doc/man +} + +# vim:set ts=2 sw=2 et: |