homebrew-core/Formula/yamdi.rb

14 lines
352 B
Ruby

require 'formula'
class Yamdi < Formula
homepage 'http://yamdi.sourceforge.net/'
url 'https://downloads.sourceforge.net/project/yamdi/yamdi/1.9/yamdi-1.9.tar.gz'
sha1 '921d23f3059fa21319b74de945bb7cf565e2d67e'
def install
system "#{ENV.cc} #{ENV.cflags} yamdi.c -o yamdi"
bin.install "yamdi"
man1.install "man1/yamdi.1"
end
end