diff --git a/packages/conf-gcc-multilib/conf-gcc-multilib.1.0/opam b/packages/conf-gcc-multilib/conf-gcc-multilib.1.0/opam new file mode 100644 index 00000000000..978a22effa4 --- /dev/null +++ b/packages/conf-gcc-multilib/conf-gcc-multilib.1.0/opam @@ -0,0 +1,23 @@ +opam-version: "2.0" +maintainer: "Simmo Saan " +authors: ["Simmo Saan"] +homepage: "https://github.com/ocaml/opam-repository" +bug-reports: "https://github.com/ocaml/opam-repository/issues" +license: "GPL-2.0-or-later" +build: [ + ["sh" "-exc" "echo '#include ' | cpp -m32 -"] + ["sh" "-exc" "echo '#include ' | cpp -m64 -"] +] +depexts: [ + ["glibc-devel.i686"] {os-distribution = "centos"} + ["glibc-devel.i686"] {os-distribution = "fedora"} + ["gcc-32bit"] {os-family = "suse" | os-distribution = "opensuse"} + ["gcc-multilib"] {os-distribution = "debian"} + ["gcc-multilib"] {os-distribution = "ubuntu"} + ["lib32-glibc"] {os-distribution = "archlinux"} +] +available: arch != "s390x" +synopsis: "Virtual package relying on the gcc compiler multilib support" +description: + "This package can only install if the gcc compiler multilib support is installed on the system." +flags: conf