Created
April 25, 2020 16:52
-
-
Save k4rtik/98a808f671b612b71d011a25a3d6f34f to your computer and use it in GitHub Desktop.
Experimental snapcraft.yaml for SML/NJ
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: smlnj | |
title: Standard ML of New Jersey | |
version: "110.97" | |
summary: The Standard ML of New Jersey system | |
description: | | |
Standard ML of New Jersey (abbreviated SML/NJ) is a | |
compiler for the Standard ML '97 programming language | |
with associated libraries, tools, and documentation. | |
https://smlnj.org | |
base: core18 | |
grade: stable | |
confinement: classic | |
parts: | |
smlnj: | |
plugin: make | |
source: . | |
override-pull: | | |
wget https://smlnj.org/dist/working/110.97/config.tgz | |
tar -xzf config.tgz | |
override-build: | | |
export INSTALLDIR=$SNAPCRAFT_PRIME | |
./config/install.sh -default 64 | |
build-packages: | |
- g++ | |
apps: | |
smlnj: | |
command: sml | |
asdlgen: | |
command: asdlgen | |
ml-antlr: | |
command: ml-antlr | |
ml-build: | |
command: ml-build | |
ml-burg: | |
command: ml-burg | |
ml-lex: | |
command: ml-lex | |
ml-makedepend: | |
command: ml-makedepend | |
ml-ulex: | |
command: ml-ulex | |
ml-yacc: | |
command: ml-yacc |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Use this script instead: https://gist.github.com/k4rtik/0cb72f1191d21f66d0345ec825c36cb0