homebrew-core/Formula/lcdproc.rb
2016-04-10 12:36:21 +08:00

27 lines
1,008 B
Ruby

class Lcdproc < Formula
desc "Display real-time system information on a LCD"
homepage "http://www.lcdproc.org/"
url "https://downloads.sourceforge.net/project/lcdproc/lcdproc/0.5.6/lcdproc-0.5.6.tar.gz"
sha256 "bd2f43c30ff43b30f43110abe6b4a5bc8e0267cb9f57fa97cc5e5ef9488b984a"
bottle do
sha256 "2a7bd5effc794f54e2364b74caba344f949a288b4ae67e55e829e6256a585732" => :el_capitan
sha256 "7ed7e364837c7f0c3702d522d3dd8f73de0bd06fed5bd27c9010975042337ca7" => :yosemite
sha256 "2a1f1649eeab5698d37280c86e8d7ec935a99a48e3d844d9f366beea431e5175" => :mavericks
end
depends_on "pkg-config" => :build
depends_on "libusb"
depends_on "libhid"
depends_on "libftdi0"
def install
system "./configure", "--disable-debug",
"--disable-dependency-tracking",
"--prefix=#{prefix}",
"--enable-drivers=all",
"--enable-libftdi=yes"
system "make"
system "make", "install"
end
end