Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 5 additions & 2 deletions packages/conf-antic/conf-antic.1/opam
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,10 @@ homepage: "https://github.com/flintlib/antic.git"
bug-reports: "https://github.com/flintlib/antic.git"
license: "LGPL-2.1-only"
build: [
["sh" "-exc" "echo \"#include \\\"antic/qfb.h\\\"\" > test.c"]
["sh" "-exc" "cc -c $CFLAGS -I/usr/local/include test.c"] {os != "macos" & os != "win32"}
["sh" "-exc" "echo \"#include \\\"qfb.h\\\"\" > test.c"] {os-distribution = "arch"}
["sh" "-exc" "echo \"#include \\\"antic/qfb.h\\\"\" > test.c"] {os-distribution != "arch"}
["sh" "-exc" "cc -c $CFLAGS -I/usr/include/flint test.c"] {os != "macos" & os != "win32" & os-distribution = "arch"}
["sh" "-exc" "cc -c $CFLAGS -I/usr/local/include test.c"] {os != "macos" & os != "win32" & os-distribution != "arch"}
[
"sh"
"-exc"
Expand All @@ -28,6 +30,7 @@ depexts: [
["antic-devel"] {os-family = "suse"}
["antic"] {os-distribution = "nixos"}
["antic"] {os = "freebsd"}
["flint"] {os-distribution = "arch"}
]
synopsis: "Virtual package relying on a Antic lib system installation"
description:
Expand Down
4 changes: 3 additions & 1 deletion packages/conf-arb/conf-arb.1/opam
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,8 @@ bug-reports: "https://github.com/fredrik-johansson/arb"
license: "LGPL-2.1-only"
build: [
["sh" "-exc" "echo \"#include \\\"arb.h\\\"\" > test.c"]
["sh" "-exc" "cc -c $CFLAGS -I/usr/local/include test.c"] {os != "macos" & os != "win32"}
["sh" "-exc" "cc -c $CFLAGS -I/usr/include/flint test.c"] {os != "macos" & os != "win33" & os-distribution = "arch"}
["sh" "-exc" "cc -c $CFLAGS -I/usr/local/include test.c"] {os != "macos" & os != "win32" & os-distribution != "arch"}
[
"sh"
"-exc"
Expand All @@ -28,6 +29,7 @@ depexts: [
["arb-devel"] {os-family = "suse"}
["arb"] {os-distribution = "nixos"}
["arb"] {os = "freebsd"}
["flint"] {os-distribution = "arch"}
]
synopsis: "Virtual package relying on a Arb lib system installation"
description:
Expand Down
7 changes: 5 additions & 2 deletions packages/conf-calcium/conf-calcium.1/opam
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,10 @@ homepage: "https://fredrikj.net/calcium/"
bug-reports: "https://github.com/fredrik-johansson/calcium"
license: "LGPL-2.1-only"
build: [
["sh" "-exc" "echo \"#include \\\"calcium/calcium.h\\\"\" > test.c"]
["sh" "-exc" "cc -c $CFLAGS -I/usr/local/include test.c"] {os != "macos" & os != "win32"}
["sh" "-exc" "echo \"#include \\\"calcium.h\\\"\" > test.c"] {os-distribution = "arch"}
["sh" "-exc" "echo \"#include \\\"calcium/calcium.h\\\"\" > test.c"] {os-distribution != "arch"}
["sh" "-exc" "cc -c $CFLAGS -I/usr/include/flint test.c"] {os != "macos" & os != "win32" & os-distribution = "arch"}
["sh" "-exc" "cc -c $CFLAGS -I/usr/local/include test.c"] {os != "macos" & os != "win32" & os-distribution != "arch"}
[
"sh"
"-exc"
Expand All @@ -30,6 +32,7 @@ depexts: [
["calcium" "calcium-devel"] {os-distribution = "ol"}
["calcium-devel"] {os-family = "suse"}
["calcium"] {os-distribution = "nixos"}
["flint"] {os-distribution = "arch"}
]
synopsis: "Virtual package relying on a Calcium lib system installation"
description:
Expand Down
7 changes: 5 additions & 2 deletions packages/conf-flint/conf-flint.1/opam
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,10 @@ homepage: "http://flint.org"
bug-reports: "https://github.com/flintlib/flint2.git"
license: "LGPL-2.1-only"
build: [
["sh" "-exc" "echo \"#include \\\"flint/fmpz_poly.h\\\"\" > test.c"]
["sh" "-exc" "cc -c $CFLAGS -I/usr/local/include test.c"] {os != "macos" & os != "win32"}
["sh" "-exc" "echo \"#include \\\"fmpz_poly.h\\\"\" > test.c"] {os-distribution = "arch"}
["sh" "-exc" "echo \"#include \\\"flint/fmpz_poly.h\\\"\" > test.c"] {os-distribution != "arch"}
["sh" "-exc" "cc -c $CFLAGS -I/usr/include/flint test.c"] {os != "macos" & os != "win32" & os-distribution = "arch"}
["sh" "-exc" "cc -c $CFLAGS -I/usr/local/include test.c"] {os != "macos" & os != "win32" & os-distribution != "arch"}
[
"sh"
"-exc"
Expand All @@ -30,6 +32,7 @@ depexts: [
["libflint-devel"] {os = "win32" & os-distribution = "cygwinports"}
["flint"] {os-distribution = "nixos"}
["flint2"] {os = "freebsd"}
["flint"] {os-distribution = "arch"}
]
synopsis: "Virtual package relying on a Flint lib system installation"
description:
Expand Down