aboutsummaryrefslogtreecommitdiff
path: root/Formula/guile-heredoc.rb
blob: c0d42c5fb5b9845ee27669b6be7ad87b0a2bf718 (about) (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
class GuileHeredoc < Formula
  desc 'Guile heredoc syntax'
  homepage 'https://euandre.org/s/guile-heredoc/'
  url 'https://euandre.org/git/guile-heredoc/snapshot/guile-heredoc-065435cdce609604e33b879b9be3e81ab89f3e7b.tar.xz'
  sha256 '4d6e5171f36d48ab2341cc9e3346262f9ec7c9f0fd3d88ec6e204ef2160821f8'
  license 'AGPL-3.0-or-later'

  def install
    system 'make',            "PREFIX=#{prefix}"
    system 'make', 'check',   "PREFIX=#{prefix}"
    system 'make', 'install', "PREFIX=#{prefix}"
  end

  test do
    system "#{bin}/guile-heredoc", '-V'
  end
end