picocom: Update to 1.6

Closes Homebrew/homebrew#7910.

Signed-off-by: Charlie Sharpsteen <source@sharpsteen.net>
This commit is contained in:
Marcel Beltz 2011-09-30 14:23:04 +02:00 committed by Charlie Sharpsteen
parent ee913b438b
commit 2017645f34

View file

@ -1,12 +1,34 @@
require 'formula'
class Picocom < Formula
url 'http://picocom.googlecode.com/files/picocom-1.4.tar.gz'
url 'http://picocom.googlecode.com/files/picocom-1.6.tar.gz'
homepage 'http://code.google.com/p/picocom/'
md5 '08fcc5f6bb9e7676a2569386d5ea9f70'
md5 '426c3d30b82cbc80b0dafdccd6020c6c'
def patches
# HIGH_BAUD is not defined
DATA
end
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