homebrew-core/Formula/xmp.rb

31 lines
682 B
Ruby
Raw Normal View History

require 'formula'
class Xmp < Formula
homepage 'http://xmp.sourceforge.net'
url 'https://downloads.sourceforge.net/project/xmp/xmp/4.0.7/xmp-4.0.7.tar.gz'
2014-02-26 16:58:39 +00:00
sha1 '0817146ff66ba3557963b8857aa80b4f63a56fc8'
2013-02-16 07:45:50 +00:00
2013-09-22 00:27:25 +00:00
head do
url 'git://git.code.sf.net/p/xmp/xmp-cli'
depends_on 'autoconf' => :build
depends_on 'automake' => :build
depends_on 'libtool' => :build
end
2013-05-18 21:58:55 +00:00
depends_on 'pkg-config' => :build
2013-02-16 07:45:50 +00:00
depends_on 'libxmp'
def install
2013-05-22 15:03:09 +00:00
if build.head?
system "glibtoolize"
system "aclocal"
system "autoconf"
system "automake", "--add-missing"
end
system "./configure", "--prefix=#{prefix}"
system "make install"
end
end