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'
2014-02-23 21:32:28 +00:00
url 'http://downloads.sourceforge.net/project/xmp/libxmp/4.2.4/libxmp-4.2.4.tar.gz'
sha1 '4f96481a462fead157f7cd9c4c4526b337c3e72f'
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