95884bae22
Closes Homebrew/homebrew#42407. Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
35 lines
988 B
Ruby
35 lines
988 B
Ruby
class Xmp < Formula
|
|
desc "Command-line player for module music formats (MOD, S3M, IT, etc)"
|
|
homepage "http://xmp.sourceforge.net"
|
|
url "https://downloads.sourceforge.net/project/xmp/xmp/4.0.10/xmp-4.0.10.tar.gz"
|
|
sha256 "b6d45fef0dbdb4ad4948b9f82335cbfaf60eaec3a63cc9a0050a1e5cf7a65e3e"
|
|
|
|
bottle do
|
|
sha1 "fb720ca09235acac04666f9661eb106717450f11" => :yosemite
|
|
sha1 "141425e9760daeb055ee61829ed2ffcf7a20b65a" => :mavericks
|
|
sha1 "4bcc80d2356c0a89f291d592c711c449882d8254" => :mountain_lion
|
|
end
|
|
|
|
head do
|
|
url "git://git.code.sf.net/p/xmp/xmp-cli"
|
|
|
|
depends_on "autoconf" => :build
|
|
depends_on "automake" => :build
|
|
depends_on "libtool" => :build
|
|
end
|
|
|
|
depends_on "pkg-config" => :build
|
|
depends_on "libxmp"
|
|
|
|
def install
|
|
if build.head?
|
|
system "glibtoolize"
|
|
system "aclocal"
|
|
system "autoconf"
|
|
system "automake", "--add-missing"
|
|
end
|
|
|
|
system "./configure", "--prefix=#{prefix}"
|
|
system "make", "install"
|
|
end
|
|
end
|