mirror of
https://github.com/mistydemeo/tigerbrew.git
synced 2026-12-01 04:59:47 -05:00
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>
This commit is contained in:
1 parent
296f1c70ff
commit
e9add2fade
1 file changed
+3
-2
@@ -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?
|
||||
|
||||
Reference in new issue
Block a user