2011-05-11 02:03:42 +00:00
|
|
|
require 'formula'
|
|
|
|
|
|
|
|
class Xmp < Formula
|
|
|
|
homepage 'http://xmp.sourceforge.net'
|
2013-01-27 23:24:12 +00:00
|
|
|
url 'http://downloads.sourceforge.net/project/xmp/xmp/3.5.0/xmp-3.5.0.tar.gz'
|
2012-09-03 18:33:56 +00:00
|
|
|
sha1 '0707b586a445b4c3aab50eb1a6b9feb431a20983'
|
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
|