We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e9de15c commit db40b6eCopy full SHA for db40b6e
Formula/fpm.rb
@@ -0,0 +1,23 @@
1
+class Fpm < Formula
2
+ desc "Fortran Package Manager (fpm)"
3
+ homepage "https://fpm.fortran-lang.org"
4
+ url "https://github.com/fortran-lang/fpm/releases/download/v0.5.0/fpm-0.5.0.zip"
5
+ sha256 "e4a06956d2300f9aa1d06bd3323670480e946549617582e32684ded6921a921e"
6
+ license "MIT"
7
+
8
+ depends_on "curl" => :build
9
+ depends_on "gcc" # for gfortran
10
+ fails_with gcc: "4"
11
+ fails_with gcc: "5"
12
+ fails_with gcc: "6"
13
+ fails_with :clang
14
15
+ def install
16
+ ENV.fortran
17
+ system "./install.sh", "--prefix=#{prefix}"
18
+ end
19
20
+ test do
21
+ system "#{bin}/fpm", "--version"
22
23
+end
0 commit comments