homebrew-core/Formula/libxmp.rb

19 lines
440 B
Ruby
Raw Normal View History

2013-02-16 07:45:34 +00:00
require 'formula'
class Libxmp < Formula
homepage 'http://xmp.sourceforge.net'
2013-06-07 14:54:20 +00:00
url 'http://downloads.sourceforge.net/project/xmp/libxmp/4.1.5/libxmp-4.1.5.tar.gz'
sha1 'f50ff6d98e9c21c8fb5e29a8c9e5677983285d90'
2013-02-16 07:45:34 +00:00
2013-09-22 01:47:24 +00:00
head do
url 'git://git.code.sf.net/p/xmp/libxmp'
depends_on :autoconf
end
2013-02-16 07:45:34 +00:00
def install
system "autoconf" if build.head?
system "./configure", "--prefix=#{prefix}"
system "make install"
end
end