aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula/libev.rb
blob: 4ace64be8fd1a1685e9b72f8a5c806159e1a0441 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
require 'formula'

class Libev < Formula
  homepage 'http://software.schmorp.de/pkg/libev.html'
  url 'http://dist.schmorp.de/libev/Attic/libev-4.15.tar.gz'
  sha1 '88655b1e2c0b328c9f90a6df7e72361a97fa8dc3'

  def install
    system "./configure", "--disable-dependency-tracking",
                          "--prefix=#{prefix}",
                          "--mandir=#{man}"
    system "make install"

    # Remove compatibility header to prevent conflict with libevent
    (include/"event.h").unlink
  end
end