homebrew-core/Formula/dcled.rb

19 lines
517 B
Ruby
Raw Normal View History

2014-05-15 19:05:31 +00:00
require "formula"
2011-03-10 05:11:03 +00:00
class Dcled < Formula
2014-05-15 19:05:31 +00:00
homepage "http://www.jeffrika.com/~malakai/dcled/index.html"
url "http://www.jeffrika.com/~malakai/dcled/dcled-2.2.tgz"
sha1 "7cc984d894a5d6a27a4a1e5b86444d85d2e1b565"
2014-05-15 19:05:31 +00:00
depends_on "libhid"
depends_on "libusb"
def install
2014-05-15 19:05:31 +00:00
system "make", "CC=#{ENV.cc}",
"LIBUSB_CFLAGS=-I#{Formula["libusb"].opt_include}/libusb-1.0"
system "make", "install",
"FONTDIR=#{share}/#{name}",
"INSTALLDIR=#{bin}"
end
end