2011-07-04 16:22:05 +00:00
|
|
|
require 'formula'
|
|
|
|
|
|
|
|
class Lpc21isp < Formula
|
|
|
|
homepage 'http://lpc21isp.sourceforge.net/'
|
2012-09-06 13:58:02 +00:00
|
|
|
url 'http://sourceforge.net/projects/lpc21isp/files/lpc21isp/1.83/lpc21isp_183.tar.gz'
|
|
|
|
sha1 'b251105cec7a0a65f271c233c94e0fe3fab42082'
|
|
|
|
version '1.83'
|
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
|