homebrew-core/Formula/libxmp.rb

17 lines
436 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-04-29 18:43:06 +00:00
url 'http://downloads.sourceforge.net/project/xmp/libxmp/4.1.1/libxmp-4.1.1.tar.gz'
sha1 '42896b910f496a974caae95f543e7a12b6ec35fe'
2013-04-25 15:56:53 +00:00
head 'git://git.code.sf.net/p/xmp/libxmp'
2013-02-16 07:45:34 +00:00
depends_on :autoconf if build.head?
def install
system "autoconf" if build.head?
system "./configure", "--prefix=#{prefix}"
system "make install"
end
end