2013-07-31 12:46:25 +00:00
|
|
|
require 'formula'
|
|
|
|
|
|
|
|
class Lcdproc < Formula
|
|
|
|
homepage 'http://www.lcdproc.org/'
|
|
|
|
url 'http://downloads.sourceforge.net/project/lcdproc/lcdproc/0.5.6/lcdproc-0.5.6.tar.gz'
|
|
|
|
sha1 '1d0a4d068141f3c8526cadea035b58b37697600c'
|
|
|
|
|
2013-09-04 21:15:21 +00:00
|
|
|
depends_on 'pkg-config' => :build
|
2013-07-31 12:46:25 +00:00
|
|
|
depends_on 'libusb'
|
2013-09-04 21:15:21 +00:00
|
|
|
depends_on 'libftdi0'
|
2013-07-31 12:46:25 +00:00
|
|
|
|
|
|
|
def install
|
2013-09-04 21:15:21 +00:00
|
|
|
system "./configure", "--disable-debug",
|
|
|
|
"--disable-dependency-tracking",
|
2013-07-31 12:46:25 +00:00
|
|
|
"--prefix=#{prefix}",
|
|
|
|
"--enable-drivers=all",
|
|
|
|
"--enable-libftdi=yes"
|
|
|
|
system "make"
|
|
|
|
system "make install"
|
|
|
|
end
|
|
|
|
end
|