homebrew-core/Formula/serf.rb

24 lines
502 B
Ruby
Raw Normal View History

require 'formula'
class Serf < Formula
homepage 'http://code.google.com/p/serf/'
url 'http://serf.googlecode.com/files/serf-1.2.0.tar.bz2'
sha1 '30b29bd9214d50887abcc20cf82096aaaf5d1d61'
2012-08-10 05:17:14 +00:00
option :universal
depends_on :libtool
depends_on 'sqlite'
def apr_bin
superbin or "/usr/bin"
end
def install
2012-08-10 05:17:14 +00:00
ENV.universal_binary if build.universal?
2013-03-20 20:33:58 +00:00
system "./configure", "--prefix=#{prefix}",
"--with-apr=#{apr_bin}"
system "make install"
end
end