Skip to content

Commit db40b6e

Browse files
committed
fpm 0.5.0 (new formula)
Closes #1. Signed-off-by: Sebastian Ehlert <[email protected]>
1 parent e9de15c commit db40b6e

File tree

1 file changed

+23
-0
lines changed

1 file changed

+23
-0
lines changed

Formula/fpm.rb

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -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+
end
23+
end

0 commit comments

Comments
 (0)