homebrew-core/Formula/picocom.rb

35 lines
672 B
Ruby
Raw Normal View History

2009-12-03 16:42:33 +00:00
require 'formula'
2011-03-10 05:11:03 +00:00
class Picocom < Formula
url 'http://picocom.googlecode.com/files/picocom-1.6.tar.gz'
2009-12-03 16:42:33 +00:00
homepage 'http://code.google.com/p/picocom/'
sha1 'f042e15fa76ab3349c74a70062aa210b527e6bdc'
def patches
# HIGH_BAUD is not defined
DATA
end
2009-12-03 16:42:33 +00:00
def install
system "make"
bin.install "picocom"
end
end
__END__
diff --git a/Makefile b/Makefile
index 09846aa..fba128e 100644
--- a/Makefile
+++ b/Makefile
@@ -2,8 +2,7 @@
VERSION=1.6
# CC = gcc
-CPPFLAGS=-DVERSION_STR=\"$(VERSION)\" -DUUCP_LOCK_DIR=\"/var/lock\" \
- -DHIGH_BAUD
+CPPFLAGS=-DVERSION_STR=\"$(VERSION)\" -DUUCP_LOCK_DIR=\"/var/lock\"
CFLAGS = -Wall -g
# LD = gcc