pidof: use the right compiler

c.f. Homebrew/homebrew#13358.

Signed-off-by: Jack Nagel <jacknagel@gmail.com>
This commit is contained in:
Jack Nagel 2012-07-13 02:37:39 -05:00
parent e380254078
commit d55eb02400

View file

@ -1,13 +1,13 @@
require 'formula'
class Pidof < Formula
url 'http://www.nightproductions.net/downloads/pidof_source.tar.gz'
homepage 'http://www.nightproductions.net/cli.htm'
md5 '663763ee1feb0596fa3731aafa7e1880'
url 'http://www.nightproductions.net/downloads/pidof_source.tar.gz'
sha1 '150ff344d7065ecf9bc5cb3c2cc83eeda8d31348'
version '0.1.4'
def install
system "make all"
system "make", "all", "CC=#{ENV.cc}", "CFLAGS=#{ENV.cflags}"
man1.install gzip("pidof.1")
bin.install "pidof"
end