-
Notifications
You must be signed in to change notification settings - Fork 1.1k
/
opam
69 lines (65 loc) · 2 KB
/
opam
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
opam-version: "2.0"
maintainer: "julien.signoles@cea.fr"
authors: [
"Julien Signoles"
"Guillaume Petiot"
]
homepage: "http://frama-c.com/eacsl.html"
license: "LGPL-2.1-only"
doc: "http://frama-c.com/download/e-acsl/e-acsl-user-manual.pdf"
bug-reports: "https://bts.frama-c.com/"
# dev-repo: "https://git.frama-c.com/users/sign_in"
tags: [
"program verification"
"formal specification"
"runtime assertion checking"
"monitoring"
"C"
"plugins"
"ACSL"
"E-ACSL"
]
build: [
["ocaml" "run_autoconf_if_needed.ml"]
["./configure" "--prefix" prefix]
[make]
["cp" "doc/manuals/*.pdf" "%{frama-c:doc}%/e-acsl/"] {with-doc}
]
install: [
[make "install"]
]
remove: [
["ocaml" "run_autoconf_if_needed.ml"] #when used in pinned mode the configure *can* not yet be generated
["./configure" "--prefix" prefix]
[make "uninstall"]
["rm" "-rf" "%{frama-c:doc}%/e-acsl"]
]
depends: [
"ocaml" {>= "3.12" & != "4.02.0"}
"frama-c-base" {>= "11.0"}
"conf-autoconf"
]
synopsis: "This package contains the Frama-C's E-ACSL plug-in."
description: """
It takes as input an annotated C program and returns the same program
in which annotations have been converted into C code dedicated to
runtime assertion checking: this code fails at runtime if the
annotation is violated at runtime.
Annotations must be written in a subset of ACSL (ANSI/ISO C Specification
Language), namely E-ACSL (Executable ANSI/ISO C Specification Language). E-ACSL
is fully described at http://frama-c.com/download/e-acsl/e-acsl.pdf"""
url {
src: "http://frama-c.com/download/e-acsl/e-acsl-0.5.tar.gz"
checksum: [
"sha256=f31230143af885aee73f907c2cf0d167a8c71103efb763909b7fb2f1f88b08f7"
"md5=73842963dfa22548a571c5ccca757bc9"
]
}
extra-source "run_autoconf_if_needed.ml" {
src:
"https://raw.githubusercontent.com/ocaml/opam-source-archives/main/patches/frama-c-e-acsl/run_autoconf_if_needed.ml"
checksum: [
"sha256=3f44996d2a1aedf0b8df5a39cd4ef5f4ae1c47f6a9ae18054b9791e7390ad060"
"md5=6192daae7005ccd617892e2eec1f14c9"
]
}