Skip to content

Commit 1fdce8d

Browse files
committed
Reenable gappa.1.3.5 (the source URL changed and the package got deleted)
1 parent fa0e8c7 commit 1fdce8d

File tree

1 file changed

+61
-0
lines changed
  • packages/gappa/gappa.1.3.5

1 file changed

+61
-0
lines changed

packages/gappa/gappa.1.3.5/opam

Lines changed: 61 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,61 @@
1+
opam-version: "2.0"
2+
maintainer: "[email protected]"
3+
authors: "Guillaume Melquiond"
4+
bug-reports: "https://gitlab.inria.fr/gappa/gappa/-/issues"
5+
homepage: "https://gitlab.inria.fr/gappa/gappa"
6+
dev-repo: "git+https://gitlab.inria.fr/gappa/gappa.git"
7+
license: "CeCILL"
8+
patches: [
9+
"remake.patch"
10+
"0001-Added-configure-for-c-11.patch"
11+
]
12+
build: [
13+
[ "autoreconf" ]
14+
# Note: configure.in seems to reference this file
15+
[ "touch" "stamp-config_h.in" ]
16+
[ "./configure"
17+
# If someone knows how to ask MacPorts for the usual include and lib path, please tell me
18+
"CXXFLAGS=-I/opt/local/include" { os-distribution = "macports" & os = "macos" }
19+
"LDFLAGS=-L/opt/local/lib" { os-distribution = "macports" & os = "macos" }
20+
# Support installing on Apple Silicon with Homebrew
21+
"CXXFLAGS=-I/opt/homebrew/include" { os-distribution = "homebrew" & os = "macos" & arch = "arm64"}
22+
"LDFLAGS=-L/opt/homebrew/lib" { os-distribution = "homebrew" & os = "macos" & arch = "arm64"}
23+
"--build=%{arch}%-pc-cygwin" { os = "win32" & os-distribution = "cygwinports" }
24+
"--host=%{arch}%-w64-mingw32" { os = "win32" & os-distribution = "cygwinports" }
25+
"--target=%{arch}%-w64-mingw32" { os = "win32" & os-distribution = "cygwinports" }
26+
"--prefix=%{prefix}%"
27+
]
28+
[ "./remake" "--jobs=%{jobs}%" ]
29+
]
30+
install: [ "./remake" "-d" "install" ]
31+
depends: [
32+
"conf-g++" {build}
33+
"conf-autoconf" {build}
34+
"conf-automake" {build}
35+
"conf-gmp"
36+
"conf-mpfr"
37+
"conf-boost"
38+
"conf-bison" {build}
39+
"conf-flex" {build}
40+
]
41+
synopsis: "Tool intended for formally proving properties on numerical programs dealing with floating-point or fixed-point arithmetic"
42+
url {
43+
src: "https://gappa.gitlabpages.inria.fr/releases/gappa-1.3.5.tar.gz"
44+
checksum: "sha512=60b5719e3a321df43e33045fa8f4511fc02a4218d1ae7e476e7c6ebcf90ae208832881f6eea5b99a3296dfcc3a18c7e1f4ea9dbea446fc502e14306b6975f6e6"
45+
}
46+
extra-source "remake.patch" {
47+
src:
48+
"https://raw.githubusercontent.com/ocaml/opam-source-archives/main/patches/gappa/remake.patch"
49+
checksum: [
50+
"sha256=365967b9cd294d485302b6c14a072ac06d3238bfeb313eaae07159a8542fc5ff"
51+
"md5=d66b718118ae5bf61c661905f6f0db96"
52+
]
53+
}
54+
extra-source "0001-Added-configure-for-c-11.patch" {
55+
src:
56+
"https://raw.githubusercontent.com/ocaml/opam-source-archives/main/patches/gappa/0001-Added-configure-for-c-11.patch"
57+
checksum: [
58+
"sha256=5d9ff1e6461834c2d3d6c4cb1f9dd7424a4a681b40cab19a6fbbe0ff8d50284e"
59+
"md5=b6a6dbe9a12feae79eab038864208a3c"
60+
]
61+
}

0 commit comments

Comments
 (0)