2013-02-16 07:45:34 +00:00
|
|
|
require 'formula'
|
|
|
|
|
|
|
|
class Libxmp < Formula
|
|
|
|
homepage 'http://xmp.sourceforge.net'
|
2013-11-19 14:58:15 +00:00
|
|
|
url 'http://downloads.sourceforge.net/project/xmp/libxmp/4.2.0/libxmp-4.2.0.tar.gz'
|
|
|
|
sha1 '138599f4a29f4b25c6c812b0e226e554776a77d3'
|
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
|