[arch-commits] Commit in julia/repos (6 files)
Date: Monday, May 15, 2017 @ 21:27:29 Author: bpiotrowski Revision: 228171 archrelease: copy trunk to community-testing-x86_64, community-testing-i686 Added: julia/repos/community-testing-i686/ julia/repos/community-testing-i686/PKGBUILD (from rev 228170, julia/trunk/PKGBUILD) julia/repos/community-testing-i686/sysfix.install (from rev 228170, julia/trunk/sysfix.install) julia/repos/community-testing-x86_64/ julia/repos/community-testing-x86_64/PKGBUILD (from rev 228170, julia/trunk/PKGBUILD) julia/repos/community-testing-x86_64/sysfix.install (from rev 228170, julia/trunk/sysfix.install) -+ community-testing-i686/PKGBUILD | 139 ++ community-testing-i686/sysfix.install | 10 ++ community-testing-x86_64/PKGBUILD | 139 ++ community-testing-x86_64/sysfix.install | 10 ++ 4 files changed, 298 insertions(+) Copied: julia/repos/community-testing-i686/PKGBUILD (from rev 228170, julia/trunk/PKGBUILD) === --- community-testing-i686/PKGBUILD (rev 0) +++ community-testing-i686/PKGBUILD 2017-05-15 21:27:29 UTC (rev 228171) @@ -0,0 +1,139 @@ +# $Id$ +# Maintainer: Alexander F Rødseth +# Contributor: Lex Black +# Contributor: Michael Jakl +# Contributor: devmotion +# Contributor: Valentin Churavy + +pkgbase=julia +pkgname=('julia' 'julia-docs') +pkgver=0.5.2 +pkgrel=2 +epoch=2 +arch=('x86_64' 'i686') +pkgdesc='High-level, high-performance, dynamic programming language' +url='http://julialang.org/' +license=('MIT') +makedepends=('gcc-fortran' 'python2' 'blas' 'lapack' 'arpack' 'libunwind' 'fftw' 'llvm39' + 'gmp' 'mpfr' 'zlib' 'suitesparse' 'patchelf' 'cmake' 'pcre2' 'libgit2' 'openssl') +options=('!emptydirs' 'staticlibs') +source=("https://github.com/JuliaLang/julia/releases/download/v$pkgver/julia-$pkgver.tar.gz"{,.asc}) +sha256sums=('76d780cca500034bddfe20e4fd19f99bd4ba6f92fc46735967e0f48c114dfa26' +'SKIP') +validpgpkeys=('3673DF529D9049477F76B37566E3C7DC03D6E495') # Julia (Binary signing key) + +prepare() { + # For /etc/ld.so.conf.d/ + echo '/usr/lib/julia' > julia.conf +} + +build() { + # Make sure not to set -march + export CFLAGS="-mtune=generic -O3 -pipe -fstack-protector-strong" + export CXXFLAGS="-mtune=generic -O3 -pipe -fstack-protector-strong" + + # SSE2 is a requirement for Julia on 32-bit x86 + unset ARCH + if [[ $CARCH == i686 ]]; then +export M="pentium4" +export CFLAGS+=" -march=pentium4" +export CXXFLAGS+=" -march=pentium4" + else +export M="x86-64" + fi + + cd julia-$pkgver + make prefix=/usr sysconfdir=/etc \ +MARCH=$M \ +USE_SYSTEM_LLVM=1 \ +USE_SYSTEM_LIBUNWIND=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=1 \ +USE_SYSTEM_LIBUV=0 \ +USE_SYSTEM_UTF8PROC=0 \ +USE_INTEL_MKL=0 \ +USE_BLAS64=0 \ +USE_LLVM_SHLIB=1 \ +USE_SYSTEM_LIBGIT2=1 \ +USE_SYSTEM_PATCHELF=1 \ +USE_SYSTEM_DSFMT=0 +} + +package_julia() { + backup=('etc/ld.so.conf.d/julia.conf' 'etc/julia/juliarc.jl') + depends=('arpack' 'fftw' 'libunwind' 'mpfr' 'suitesparse' 'pcre2' 'libgit2' 'llvm39-libs' 'patchelf' 'hicolor-icon-theme') + optdepends=('gnuplot: If using the Gaston Package from julia') + install='sysfix.install' + + # Make sure not to set -march + export CFLAGS="-mtune=generic -O3 -pipe -fstack-protector-strong" + export CXXFLAGS="-mtune=generic -O3 -pipe -fstack-protector-strong" + + # SSE2 is a requirement for Julia on 32-bit x86 + if [[ $CARCH == i686 ]]; then +export M="pentium4" +export CFLAGS+=" -march=pentium4" +export CXXFLAGS+=" -march=pentium4" + else +export M="x86-64" + fi + + cd julia-$pkgver + make DESTDIR="$pkgdir" \ +prefix=/usr sysconfdir=/etc \ +MARCH=$M \ +USE_SYSTEM_LLVM=1 \ +USE_SYSTEM_LIBUNWIND=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=1 \ +USE_SYSTEM_LIBUV=0 \ +USE_SYSTEM_UTF8PROC=0 \ +USE_INTEL_MKL=0 \ +USE_BLAS64=0 \ +USE_LLVM_SHLIB=1 \ +USE_SYSTEM_LIBGIT2=1 \ +USE_SYSTEM_PATCHELF=1 \ +USE_SYSTEM_DSFMT=0 \ +install + + # Remove duplicate man-page from julia/doc + rm -rvf "$pkgdir/usr/share/julia/doc/man" + + # For /etc/ld.so.conf.d, FS#41731 + install -Dm644 "$srcdir"/julia.conf "$pkgdir/etc/ld.so.conf.d/julia.conf" + + # Documentation and examples are in the julia-docs pack
[arch-commits] Commit in julia/repos (6 files)
Date: Wednesday, March 15, 2017 @ 22:29:00 Author: arojas Revision: 216474 archrelease: copy trunk to community-testing-x86_64, community-testing-i686 Added: julia/repos/community-testing-i686/ julia/repos/community-testing-i686/PKGBUILD (from rev 216473, julia/trunk/PKGBUILD) julia/repos/community-testing-i686/sysfix.install (from rev 216473, julia/trunk/sysfix.install) julia/repos/community-testing-x86_64/ julia/repos/community-testing-x86_64/PKGBUILD (from rev 216473, julia/trunk/PKGBUILD) julia/repos/community-testing-x86_64/sysfix.install (from rev 216473, julia/trunk/sysfix.install) -+ community-testing-i686/PKGBUILD | 130 ++ community-testing-i686/sysfix.install | 10 ++ community-testing-x86_64/PKGBUILD | 130 ++ community-testing-x86_64/sysfix.install | 10 ++ 4 files changed, 280 insertions(+) Copied: julia/repos/community-testing-i686/PKGBUILD (from rev 216473, julia/trunk/PKGBUILD) === --- community-testing-i686/PKGBUILD (rev 0) +++ community-testing-i686/PKGBUILD 2017-03-15 22:29:00 UTC (rev 216474) @@ -0,0 +1,130 @@ +# $Id$ +# Maintainer: Alexander F Rødseth +# Contributor: Lex Black +# Contributor: Michael Jakl +# Contributor: devmotion +# Contributor: Valentin Churavy + +pkgbase=julia +pkgname=('julia' 'julia-docs') +pkgver=0.5.1 +pkgrel=2 +epoch=2 +arch=('x86_64' 'i686') +pkgdesc='High-level, high-performance, dynamic programming language' +url='http://julialang.org/' +license=('MIT') +makedepends=('gcc-fortran' 'python2' 'libuv' 'blas' 'lapack' 'arpack' 'libunwind' 'fftw' + 'gmp' 'mpfr' 'zlib' 'suitesparse' 'patchelf' 'cmake' 'pcre2' 'libgit2' 'openssl' 'llvm') +options=('!emptydirs' 'staticlibs') +source=("https://github.com/JuliaLang/julia/releases/download/v$pkgver/julia-$pkgver.tar.gz"{,.asc}) +sha256sums=('805e97aef179fd5bea2bc906128369d113a30bb9a165cef70b67f2fc3f3c35a9' +'SKIP') +validpgpkeys=('3673DF529D9049477F76B37566E3C7DC03D6E495') # Julia (Binary signing key) + +prepare() { + # For /etc/ld.so.conf.d/ + echo '/usr/lib/julia' > julia.conf +} + +build() { + # Make sure not to set -march + export CFLAGS="-mtune=generic -O3 -pipe -fstack-protector-strong" + export CXXFLAGS="-mtune=generic -O3 -pipe -fstack-protector-strong" + + # SSE2 is a requirement for Julia on 32-bit x86 + if [[ $CARCH == i686 ]]; then +export CFLAGS+=" -march=pentium4" +export CXXFLAGS+=" -march=pentium4" + fi + + cd julia-$pkgver + make prefix=/usr sysconfdir=/etc \ +USE_SYSTEM_LLVM=1 \ +USE_SYSTEM_LIBUNWIND=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=1 \ +USE_SYSTEM_LIBUV=0 \ +USE_SYSTEM_UTF8PROC=0 \ +USE_INTEL_MKL=0 \ +USE_BLAS64=0 \ +USE_LLVM_SHLIB=1 \ +USE_SYSTEM_LIBGIT2=1 \ +USE_SYSTEM_PATCHELF=1 \ +USE_SYSTEM_DSFMT=0 +} + +package_julia() { + backup=('etc/ld.so.conf.d/julia.conf' 'etc/julia/juliarc.jl') + depends=('arpack' 'fftw' 'libunwind' 'mpfr' 'suitesparse' 'pcre2' 'libgit2' 'llvm-libs' 'patchelf' 'hicolor-icon-theme') + optdepends=('gnuplot: If using the Gaston Package from julia') + install='sysfix.install' + + # Make sure not to set -march + export CFLAGS="-mtune=generic -O3 -pipe -fstack-protector-strong" + export CXXFLAGS="-mtune=generic -O3 -pipe -fstack-protector-strong" + + # SSE2 is a requirement for Julia on 32-bit x86 + if [[ $CARCH == i686 ]]; then +export CFLAGS+=" -march=pentium4" +export CXXFLAGS+=" -march=pentium4" + fi + + cd julia-$pkgver + make DESTDIR="$pkgdir" \ +prefix=/usr sysconfdir=/etc \ +USE_SYSTEM_LLVM=1 \ +USE_SYSTEM_LIBUNWIND=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=1 \ +USE_SYSTEM_LIBUV=0 \ +USE_SYSTEM_UTF8PROC=0 \ +USE_INTEL_MKL=0 \ +USE_BLAS64=0 \ +USE_LLVM_SHLIB=1 \ +USE_SYSTEM_LIBGIT2=1 \ +USE_SYSTEM_PATCHELF=1 \ +USE_SYSTEM_DSFMT=0 \ +install + + # Remove duplicate man-page from julia/doc + rm -rvf "$pkgdir/usr/share/julia/doc/man" + + # For /etc/ld.so.conf.d, FS#41731 + install -Dm644 "$srcdir"/julia.conf "$pkgdir/etc/ld.so.conf.d/julia.conf" + + # Documentation and examples are in the julia-docs package + rm -rvf "$pkgdir/usr/share/doc/" + rm -rvf "$pkgdir/usr/share/julia/doc/" + rm -rvf "$pkgdir/usr/share/julia/examples/" + + install -Dm644 LICEN
[arch-commits] Commit in julia/repos (6 files)
Date: Sunday, December 6, 2015 @ 18:49:25 Author: foutrelis Revision: 149011 archrelease: copy trunk to community-staging-x86_64, community-staging-i686 Added: julia/repos/community-staging-i686/ julia/repos/community-staging-i686/PKGBUILD (from rev 149009, julia/trunk/PKGBUILD) julia/repos/community-staging-i686/sysfix.install (from rev 149009, julia/trunk/sysfix.install) julia/repos/community-staging-x86_64/ julia/repos/community-staging-x86_64/PKGBUILD (from rev 149009, julia/trunk/PKGBUILD) julia/repos/community-staging-x86_64/sysfix.install (from rev 149009, julia/trunk/sysfix.install) -+ community-staging-i686/PKGBUILD | 118 ++ community-staging-i686/sysfix.install | 10 ++ community-staging-x86_64/PKGBUILD | 118 ++ community-staging-x86_64/sysfix.install | 10 ++ 4 files changed, 256 insertions(+) Copied: julia/repos/community-staging-i686/PKGBUILD (from rev 149009, julia/trunk/PKGBUILD) === --- community-staging-i686/PKGBUILD (rev 0) +++ community-staging-i686/PKGBUILD 2015-12-06 17:49:25 UTC (rev 149011) @@ -0,0 +1,118 @@ +# $Id$ +# Maintainer: Alexander Rødseth +# Contributor: Lex Black +# Contributor: Michael Jakl +# Contributor: devmotion +# Contributor: Valentin Churavy + +pkgbase=julia +pkgname=('julia' 'julia-docs') +pkgver=0.4.1 +pkgrel=2 +epoch=2 +arch=('x86_64' 'i686') +pkgdesc='High-level, high-performance, dynamic programming language' +url='http://julialang.org/' +license=('MIT') +makedepends=('gcc-fortran' 'python2' 'libuv' 'git' 'blas' 'lapack' 'arpack' 'libunwind' 'fftw' 'gmp' 'mpfr' 'pcre' 'zlib' 'suitesparse' 'patchelf' 'cmake' 'pcre2') +optdepends=('gnuplot: If using the Gaston Package from julia') +options=('!emptydirs' 'staticlibs') +source=("git://github.com/JuliaLang/julia.git#tag=v$pkgver") +sha256sums=('SKIP') + +prepare() { + # For /etc/ld.so.conf.d/ + echo '/usr/lib/julia' > julia.conf +} + +build() { + # SSE2 is a requirement for Julia on 32-bit x86 + if [[ $CARCH == i686 ]]; then +export JULIA_CPU_TARGET=pentium4 + fi + + make -C "$pkgname" prefix=/usr sysconfdir=/etc \ +MARCH=${CARCH/_/-} \ +USE_SYSTEM_LLVM=0 \ +USE_SYSTEM_LIBUNWIND=1 \ +USE_SYSTEM_READLINE=0 \ +USE_SYSTEM_PCRE=1 \ +USE_SYSTEM_LIBM=1 \ +USE_SYSTEM_OPENLIBM=0 \ +USE_SYSTEM_OPENSPECFUN=0 \ +USE_SYSTEM_BLAS=0 \ +USE_SYSTEM_LAPACK=1 \ +USE_SYSTEM_FFTW=1 \ +USE_SYSTEM_GMP=1 \ +USE_SYSTEM_MPFR=1 \ +USE_SYSTEM_ARPACK=1 \ +USE_SYSTEM_SUITESPARSE=1 \ +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_julia() { + backup=('etc/ld.so.conf.d/julia.conf' 'etc/julia/juliarc.jl') + depends=('arpack' 'fftw' 'git' 'gmp' 'libunwind' 'mpfr' 'pcre' 'zlib' 'lapack' 'suitesparse' 'pcre2') + install='sysfix.install' + + make -C "$pkgname" DESTDIR="$pkgdir" \ +prefix=/usr sysconfdir=/etc \ +MARCH=${CARCH/_/-} \ +USE_SYSTEM_LLVM=0 \ +USE_SYSTEM_LIBUNWIND=1 \ +USE_SYSTEM_READLINE=0 \ +USE_SYSTEM_PCRE=1 \ +USE_SYSTEM_LIBM=1 \ +USE_SYSTEM_OPENLIBM=0 \ +USE_SYSTEM_OPENSPECFUN=0 \ +USE_SYSTEM_BLAS=0 \ +USE_SYSTEM_LAPACK=1 \ +USE_SYSTEM_FFTW=1 \ +USE_SYSTEM_GMP=1 \ +USE_SYSTEM_MPFR=1 \ +USE_SYSTEM_ARPACK=1 \ +USE_SYSTEM_SUITESPARSE=1 \ +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 -rvf "$pkgdir/usr/share/julia/doc/man" + + # For /etc/ld.so.conf.d, FS#41731 + install -Dm644 julia.conf "$pkgdir/etc/ld.so.conf.d/julia.conf" + + # Documentation and examples are in the julia-docs package + rm -rvf "$pkgdir/usr/share/doc/" + rm -rvf "$pkgdir/usr/share/julia/doc/" + rm -rvf "$pkgdir/usr/share/julia/examples/" + + cd "$pkgname" + install -Dm644 LICENSE.md "$pkgdir/usr/share/licenses/$pkgname/LICENSE.md" +} + +package_julia-docs() { + pkgdesc='Documentation and examples for Julia' + cd "$pkgbase" + + install -d "$pkgdir/usr/share/doc" + cp -rv doc "$pkgdir/usr/share/doc/$pkgbase" + cp -rv examples "$pkgdir/usr/share/doc/$pkgbase/examples" + install -Dm644 LICENSE.md "$pkgdir/usr/share/licenses/$pkgname/LICENSE.md" +} + +# getver: julialang.org/downloads +# vim:set ts=2 sw=2 et: Copied: julia/repos/community-staging-i686/sysfix.install (from rev 149009, julia/trunk/sysfix.install) === --- community-staging-i686/sysfix.install (rev 0) +++ community-staging-i686/sysfix.install
[arch-commits] Commit in julia/repos (6 files)
Date: Friday, July 18, 2014 @ 22:57:42 Author: arodseth Revision: 115930 archrelease: copy trunk to community-x86_64, community-i686 Added: julia/repos/community-i686/PKGBUILD (from rev 115929, julia/trunk/PKGBUILD) julia/repos/community-i686/sysfix.install (from rev 115929, julia/trunk/sysfix.install) julia/repos/community-x86_64/PKGBUILD (from rev 115929, julia/trunk/PKGBUILD) julia/repos/community-x86_64/sysfix.install (from rev 115929, julia/trunk/sysfix.install) Deleted: julia/repos/community-i686/PKGBUILD julia/repos/community-x86_64/PKGBUILD -+ /PKGBUILD | 174 ++ community-i686/PKGBUILD | 89 --- community-i686/sysfix.install |8 + community-x86_64/PKGBUILD | 89 --- community-x86_64/sysfix.install |8 + 5 files changed, 190 insertions(+), 178 deletions(-) Deleted: community-i686/PKGBUILD === --- community-i686/PKGBUILD 2014-07-18 20:16:09 UTC (rev 115929) +++ community-i686/PKGBUILD 2014-07-18 20:57:42 UTC (rev 115930) @@ -1,89 +0,0 @@ -# $Id$ -# Maintainer: Alexander Rødseth -# Contributor: Lex Black -# Contributor: Michael Jakl -# Contributor: devmotion - -pkgname=julia -pkgver=0.3.0_prerelease -pkgrel=8 -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') -makedepends=('gcc-fortran' 'python2' 'libuv' 'setconf') -optdepends=('gnuplot: If using the Gaston Package from julia') -options=('!emptydirs' 'staticlibs') -source=('git://github.com/JuliaLang/julia.git#commit=a8545c0a93') -sha256sums=('SKIP') - -prepare() { - # Fix for FS#40736 - [ $CARCH = x86_64 ] && (setconf "$pkgname/Make.inc" JULIA_CPU_TARGET core2) || true -} - -build() { - make -C "$pkgname" prefix=/usr sysconfdir=/etc \ -USE_SYSTEM_LLVM=0 \ -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=0 \ -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" - -# Remove this file in order for Julia to start, see FS#39721 -rm -v "$pkgdir/usr/lib/julia/sys.so" - -# Fix wonky permission -chmod 644 "$pkgdir/usr/lib/julia/libuv.a" -} - -# vim:set ts=2 sw=2 et: Copied: julia/repos/community-i686/PKGBUILD (from rev 115929, julia/trunk/PKGBUILD) === --- community-i686/PKGBUILD (rev 0) +++ community-i686/PKGBUILD 2014-07-18 20:57:42 UTC (rev 115930) @@ -0,0 +1,87 @@ +# $Id$ +# Maintainer: Alexander Rødseth +# Contributor: Lex Black +# Contributor: Michael Jakl +# Contributor: devmotion + +pkgname=julia +pkgver=0.3.0_rc1 +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') +makedepends=('gcc-fortran' 'python2' 'libuv' 'setconf') +optdepends=('gnuplot: If using the Gaston Package from julia') +options=('!emptydirs' 'staticlibs') +source=("git://github.com/JuliaLang/julia.git#tag=v${pkgver/_/-}") +install=sysfix.install +sha256sums=('SKIP') + +prepare() { + # Fix for FS#40736 + [ $CARCH = x86_64 ] && (setconf "$pkgname/Make.inc" JULIA_CPU_TARGET core2) || true +} + +build() { + make -C "$pkgname" prefix=/usr sysconfdir=/etc \ +USE_SYSTEM_LLVM=0 \ +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_SY