2011-07-04 16:22:05 +00:00
|
|
|
require 'formula'
|
|
|
|
|
|
|
|
class Lpc21isp < Formula
|
|
|
|
homepage 'http://lpc21isp.sourceforge.net/'
|
2013-06-20 23:08:35 +00:00
|
|
|
url 'http://downloads.sourceforge.net/project/lpc21isp/lpc21isp/1.85/lpc21isp_185.tar.gz'
|
2012-12-14 00:33:14 +00:00
|
|
|
sha1 '5548874c88b0b34c253e12a36f3df04c8768309e'
|
|
|
|
version '1.85'
|
2011-07-04 16:22:05 +00:00
|
|
|
|
|
|
|
def install
|
2012-09-07 16:21:16 +00:00
|
|
|
# Can't statically link on OSX, so we'll remove that from the Makefile
|
|
|
|
inreplace 'Makefile', "CFLAGS += -Wall -static", "CFLAGS += -Wall"
|
2011-07-04 16:22:05 +00:00
|
|
|
system "make"
|
|
|
|
bin.install ["lpc21isp"]
|
|
|
|
end
|
|
|
|
end
|