Skip to content

Instantly share code, notes, and snippets.

@k4rtik
Created April 25, 2020 16:52
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save k4rtik/98a808f671b612b71d011a25a3d6f34f to your computer and use it in GitHub Desktop.
Save k4rtik/98a808f671b612b71d011a25a3d6f34f to your computer and use it in GitHub Desktop.
Experimental snapcraft.yaml for SML/NJ
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
@k4rtik
Copy link
Author

k4rtik commented Apr 26, 2020

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment