2011-05-11 02:03:42 +00:00
|
|
|
require 'formula'
|
|
|
|
|
|
|
|
class Xmp < Formula
|
2012-01-27 19:03:56 +00:00
|
|
|
url 'http://downloads.sourceforge.net/project/xmp/xmp/3.5.0/xmp-3.5.0.tar.gz'
|
2011-05-11 02:03:42 +00:00
|
|
|
homepage 'http://xmp.sourceforge.net'
|
2012-01-27 19:03:56 +00:00
|
|
|
md5 '47e54e6dfa88ce37370054d4a3ea955f'
|
2011-05-11 02:03:42 +00:00
|
|
|
|
|
|
|
def install
|
|
|
|
system "./configure", "--prefix=#{prefix}"
|
|
|
|
system "make install"
|
2012-01-27 19:03:56 +00:00
|
|
|
|
|
|
|
# install the included demo song
|
|
|
|
share.install "SynthSong1"
|
|
|
|
end
|
|
|
|
|
|
|
|
def test
|
2012-05-15 18:31:21 +00:00
|
|
|
system "#{bin}/xmp", "--load-only", "#{share}/SynthSong1"
|
2011-05-11 02:03:42 +00:00
|
|
|
end
|
|
|
|
end
|