julia: update to 1.0.2.

[ci skip]

Also packages dev files and docs separately. Maintainer changed to myself with
current maintainers permission.

closes #3242
This commit is contained in:
Adam Beckmeyer 2018-08-26 15:36:46 -04:00 committed by maxice8
parent 25a0117e91
commit 80b61f3762
No known key found for this signature in database
GPG Key ID: 543B9D4F4299F06B
3 changed files with 38 additions and 16 deletions

1
srcpkgs/julia-devel Symbolic link
View File

@ -0,0 +1 @@
julia

1
srcpkgs/julia-doc Symbolic link
View File

@ -0,0 +1 @@
julia

View File

@ -1,38 +1,42 @@
# Template file for 'julia'
pkgname=julia
version=0.6.4
revision=4
version=1.0.2
revision=1
wrksrc=julia
# Falsely detects dependency on libllvm
skiprdeps=/usr/lib/libjulia.so.1.0
nocross=yes
build_style=gnu-makefile
make_build_args="prefix=/usr sysconfdir=/etc USE_SYSTEM_LLVM=1
USE_LLVM_SHLIB=1 USE_SYSTEM_PCRE=1 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_LIBUV=0
USE_SYSTEM_LIBGIT2=1"
make_build_args="prefix=/usr sysconfdir=/etc USE_SYSTEM_LLVM=0 USE_LLVM_SHLIB=1
USE_SYSTEM_PCRE=1 USE_SYSTEM_BLAS=1 USE_SYSTEM_LAPACK=1 USE_SYSTEM_GMP=1
USE_SYSTEM_MPFR=1 USE_SYSTEM_LIBUV=0 USE_SYSTEM_LIBGIT2=1
LIBLAPACK=-lopenblas LIBLAPACKNAME=libopenblas
LIBBLAS=-lopenblas LIBBLASNAME=libopenblas"
make_install_args=$make_build_args
hostmakedepends="curl llvm3.9 gcc-fortran perl cmake python m4 git"
makedepends="openblas-devel lapack-devel arpack-ng-devel
fftw-devel pcre2-devel gmp-devel mpfr-devel libgit2-devel
libcurl-devel libssh2-devel mbedtls-devel"
depends="libllvm3.9 openblas lapack-devel arpack-ng libfftw
pcre2-devel gmp mpfr-devel libgit2-devel libcurl libssh2 mbedtls"
conf_files="/etc/julia/juliarc.jl"
make_check_args=$make_build_args
make_check_target=testall
hostmakedepends="curl perl cmake python"
makedepends="openblas-devel pcre2-devel gmp-devel mpfr-devel libgit2-devel
libcurl-devel libssh2-devel mbedtls-devel libatomic-devel"
depends="pcre2 gmp mpfr libgit2 libcurl libssh2 mbedtls libatomic"
conf_files="/etc/julia/startup.jl"
only_for_archs="i686 x86_64 i686-musl x86_64-musl"
short_desc="High-level, high-performance dynamic programming language"
maintainer="Francisco Gómez <espectalll@kydara.com>"
maintainer="Adam Beckmeyer <adam_git@thebeckmeyers.xyz"
license="MIT"
homepage="https://julialang.org"
distfiles="https://github.com/JuliaLang/julia/releases/download/v${version}/julia-${version}.tar.gz"
checksum=0cc9855bb56ef15bbae1533aa9987f4eb13c0d5fed839d2b8806fb785e3e8e29
checksum=cba73dcf85183a7a32fa9369c75b92ab97f97bf8147fad49b21bf0f5c68fb177
case "$XBPS_TARGET_MACHINE" in
i686-musl)
makedepends+=" libexecinfo-devel"
depends+=" libexecinfo"
LDFLAGS="-lexecinfo -lc"
;;
x86_64-musl)
makedepends+=" libexecinfo-devel"
depends+=" libexecinfo"
LDFLAGS="-lexecinfo"
;;
esac
@ -58,3 +62,19 @@ post_extract() {
post_install() {
vlicense LICENSE.md
}
julia-devel_package() {
depends="${sourcepkg}>=${version}_${revision}"
short_desc+=" - development files"
pkg_install() {
vmove usr/include
}
}
julia-doc_package() {
depends="${sourcepkg}>=${version}_${revision}"
short_desc+=" - documentation files"
pkg_install() {
vmove usr/share/doc
}
}