2009-12-03 16:42:33 +00:00
|
|
|
require 'formula'
|
|
|
|
|
2011-03-10 05:11:03 +00:00
|
|
|
class Picocom < Formula
|
2011-09-30 12:23:04 +00:00
|
|
|
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/'
|
2012-09-03 18:33:56 +00:00
|
|
|
sha1 'f042e15fa76ab3349c74a70062aa210b527e6bdc'
|
2011-09-30 12:23:04 +00:00
|
|
|
|
|
|
|
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
|
2011-09-30 12:23:04 +00:00
|
|
|
|
|
|
|
__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
|