homebrew-core/Formula/libxmp.rb

19 lines
441 B
Ruby

require 'formula'
class Libxmp < Formula
homepage 'http://xmp.sourceforge.net'
url 'https://downloads.sourceforge.net/project/xmp/libxmp/4.2.7/libxmp-4.2.7.tar.gz'
sha1 'cc7b1340bd8664d933311d23550ae4279abf2ecc'
head do
url 'git://git.code.sf.net/p/xmp/libxmp'
depends_on :autoconf
end
def install
system "autoconf" if build.head?
system "./configure", "--prefix=#{prefix}"
system "make install"
end
end