homebrew-core/Formula/picocom.rb

35 lines
663 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/'
md5 '426c3d30b82cbc80b0dafdccd6020c6c'
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