b537f24024
This reverts commit 156fd6eefe0272440f2e25a92ff6cfef2e97ca30.
23 lines
502 B
Ruby
23 lines
502 B
Ruby
require 'formula'
|
|
|
|
class Serf < Formula
|
|
homepage 'http://code.google.com/p/serf/'
|
|
url 'http://serf.googlecode.com/files/serf-1.2.1.tar.bz2'
|
|
sha1 'f65fbbd72926c8e7cf0dbd4ada03b0d226f461fd'
|
|
|
|
option :universal
|
|
|
|
depends_on :libtool
|
|
depends_on 'sqlite'
|
|
|
|
def apr_bin
|
|
superbin or "/usr/bin"
|
|
end
|
|
|
|
def install
|
|
ENV.universal_binary if build.universal?
|
|
system "./configure", "--prefix=#{prefix}",
|
|
"--with-apr=#{apr_bin}"
|
|
system "make install"
|
|
end
|
|
end
|