this repo has no description

Merge pull request #25454 from dra27/release-mingw-w64-shims-0.1.0

Add mingw-w64-shims.0.1.0

Changed files
+48
packages
mingw-w64-shims
mingw-w64-shims.0.1.0
+48
packages/mingw-w64-shims/mingw-w64-shims.0.1.0/opam
···
+
opam-version: "2.0"
+
synopsis: "Configuration for the mingw-w64 Cygwin packages in opam"
+
description: """
+
The mingw-w64 ports of OCaml require access to both GCC and the assembler. This
+
package performs two tasks. Firstly, it adds the directory containing the
+
runtime DLLS to PATH; for example, a typical Cygwin installation requires
+
C:\\cygwin64\\usr\\x86_64-w64-mingw32\\sys-root\\mingw\\bin
+
to be added to PATH.
+
+
Secondly, for opam's internally managed Cygwin installation, it installs shim
+
executables to provide the cygpath utility along with all tool-prefixed
+
programs from the -gcc-core, -gcc-g++ and -binutils packages from the
+
mingw64-i686 and mingw64-x86_64 package sets."""
+
maintainer: "David Allsopp <david@tarides.com>"
+
authors: "David Allsopp"
+
license: "CC0-1.0+"
+
homepage: "https://opam.ocaml.org"
+
bug-reports: "https://github.com/ocaml/opam-repository/issues"
+
# os = "win32" & os-distribution = "cygwin" => opam-version >= "2.2.0"
+
available: os = "win32" & os-distribution = "cygwin"
+
dev-repo: "git+https://github.com/dra27/mingw-w64-shims.git"
+
build: [
+
# i686-gcc-core must appear before x86_64-gcc-core in this list
+
["sh" "./gen_config.sh" name
+
"i686-binutils" {conf-mingw-w64-gcc-i686:installed}
+
"i686-gcc-core" {conf-mingw-w64-gcc-i686:installed}
+
"i686-gcc-g++-%{?conf-mingw-w64-g++-i686:installed:}%"
+
"x86_64-binutils" {conf-mingw-w64-gcc-x86_64:installed}
+
"x86_64-gcc-core" {conf-mingw-w64-gcc-x86_64:installed}
+
"x86_64-gcc-g++-%{?conf-mingw-w64-g++-x86_64:installed:}%"]
+
]
+
depends: ("conf-mingw-w64-gcc-x86_64" | "conf-mingw-w64-gcc-i686")
+
depopts: [
+
"conf-mingw-w64-g++-i686"
+
"conf-mingw-w64-g++-x86_64"
+
]
+
setenv: [
+
[ PATH += "%{_:runtime-x86_64}%" ]
+
[ PATH += "%{_:runtime-i686}%" ]
+
]
+
url {
+
src:
+
"https://github.com/dra27/mingw-w64-shims/archive/refs/tags/0.1.0.tar.gz"
+
checksum: [
+
"sha256=ff3b3762ccfc34a39b6da44d7035fc1522916ae55cd2607a8a8022317ead19ef"
+
"sha512=7d6147532073fed37e4717572b7d19b31ab882208410f37d89cd811d5c1b14ae514ca2cd20466f80c8ee0fd612988c57ba37225fd5be709877e8bce749524180"
+
]
+
}