aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authornibbles 2bits2012-06-10 13:25:49 -0700
committerAdam Vandenberg2012-06-10 14:03:34 -0700
commite9add2fadec83cbbe3ce39a68ea072cef007cead (patch)
tree85eda4145a1f74623a255f24600fc74841793ac3 /Library
parent296f1c70ffc02b171e036f5aee1ece461c53b203 (diff)
downloadhomebrew-e9add2fadec83cbbe3ce39a68ea072cef007cead.tar.bz2
dcled 2.0
Upgrade dcled to version 2.0. Add `FONTDIR` to the list of makefile paths to be adjusted so the fonts get installed into `share+name` rather than `HOMEBREW_PREFIX/share` where they can't be uninstalled. Tested with clang and llvm on Lion. Signed-off-by: Adam Vandenberg <flangy@gmail.com>
Diffstat (limited to 'Library')
-rw-r--r--Library/Formula/dcled.rb5
1 files changed, 3 insertions, 2 deletions
diff --git a/Library/Formula/dcled.rb b/Library/Formula/dcled.rb
index d7093e0b1..0c10eb9fc 100644
--- a/Library/Formula/dcled.rb
+++ b/Library/Formula/dcled.rb
@@ -1,15 +1,16 @@
require 'formula'
class Dcled < Formula
- url 'http://www.jeffrika.com/~malakai/dcled/dcled-1.9.tgz'
homepage 'http://www.jeffrika.com/~malakai/dcled/index.html'
- md5 '7cffd6585a5d355626d60e2127599dd0'
+ url 'http://www.jeffrika.com/~malakai/dcled/dcled-2.0.tgz'
+ sha1 'db01658b44829a5f6d1eae7264648275bda406ed'
depends_on 'libhid'
def install
inreplace 'makefile' do |s|
s.change_make_var! 'INSTALLDIR', bin
+ s.change_make_var! 'FONTDIR', share+name
s.change_make_var! 'CC', ENV.cc
s.change_make_var! 'CFLAGS', "#{ENV.cflags} -I#{HOMEBREW_PREFIX}/include"
s.change_make_var! 'LDFLAGS', ENV.ldflags + ' -lm -lhid' unless ENV.ldflags.nil?