Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add MONA v1.4.18 #9440

Open
wants to merge 17 commits into
base: master
Choose a base branch
from
Open
37 changes: 37 additions & 0 deletions M/MONA/build_tarballs.jl
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
# Note that this script can accept some limited command-line arguments, run
# `julia build_tarballs.jl --help` to see a usage message.
using BinaryBuilder, Pkg

name = "MONA"
version = v"1.4.18"

# Collection of sources required to complete build
sources = [
ArchiveSource("http://www.brics.dk/mona/download/mona-1.4-18.tar.gz", "ece10e1e257dcae48dd898ed3da48f550c6b590f8e5c5a6447d0f384ac040e4c")
JeffersonYeh marked this conversation as resolved.
Show resolved Hide resolved
]

# Bash recipe for building across all platforms
script = raw"""
cd $WORKSPACE/srcdir
cd mona-1.4/
JeffersonYeh marked this conversation as resolved.
Show resolved Hide resolved
./configure --prefix=${prefix} --build=${MACHTYPE} --host=${target}
make -j${nproc}
make install
"""

# These are the platforms we will build for by default, unless further
# platforms are passed in on the command line
platforms = supported_platforms()


# The products that we will ensure are always built
products = [
ExecutableProduct("mona", :mona)
]

# Dependencies that must be installed before this package can be built
dependencies = Dependency[
]

# Build the tarballs, and possibly a `build.jl` as well.
build_tarballs(ARGS, name, version, sources, script, platforms, products, dependencies; julia_compat="1.6")
JeffersonYeh marked this conversation as resolved.
Show resolved Hide resolved