homebrew-core/Formula/xmp.rb
2012-09-03 11:36:42 -07:00

19 lines
456 B
Ruby

require 'formula'
class Xmp < Formula
url 'http://downloads.sourceforge.net/project/xmp/xmp/3.5.0/xmp-3.5.0.tar.gz'
homepage 'http://xmp.sourceforge.net'
sha1 '0707b586a445b4c3aab50eb1a6b9feb431a20983'
def install
system "./configure", "--prefix=#{prefix}"
system "make install"
# install the included demo song
share.install "SynthSong1"
end
def test
system "#{bin}/xmp", "--load-only", "#{share}/SynthSong1"
end
end