summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRyan Tolboom <ryan@gentoo.org>2001-05-31 20:32:51 +0000
committerRyan Tolboom <ryan@gentoo.org>2001-05-31 20:32:51 +0000
commitb4b96536284e0d5cb33f6487c7e021f41aadda4d (patch)
treee9d9829bf599a3280668a9bc01aaf74ba10b9eef /net-dialup
parentadded linux kernel version 2.4.5 (with xfs support) (diff)
downloadgentoo-2-b4b96536284e0d5cb33f6487c7e021f41aadda4d.tar.gz
gentoo-2-b4b96536284e0d5cb33f6487c7e021f41aadda4d.tar.bz2
gentoo-2-b4b96536284e0d5cb33f6487c7e021f41aadda4d.zip
Added minicom a serial console program
Diffstat (limited to 'net-dialup')
-rw-r--r--net-dialup/minicom/files/digest-minicom-1.83.11
-rw-r--r--net-dialup/minicom/files/minirc.dfl1
-rw-r--r--net-dialup/minicom/minicom-1.83.1.ebuild50
3 files changed, 52 insertions, 0 deletions
diff --git a/net-dialup/minicom/files/digest-minicom-1.83.1 b/net-dialup/minicom/files/digest-minicom-1.83.1
new file mode 100644
index 000000000000..9e217268a1bb
--- /dev/null
+++ b/net-dialup/minicom/files/digest-minicom-1.83.1
@@ -0,0 +1 @@
+MD5 54311e7ab398a87088eafbe5e7c09cad minicom-1.83.1.src.tar.gz
diff --git a/net-dialup/minicom/files/minirc.dfl b/net-dialup/minicom/files/minirc.dfl
new file mode 100644
index 000000000000..42e9d8fe4646
--- /dev/null
+++ b/net-dialup/minicom/files/minirc.dfl
@@ -0,0 +1 @@
+# Machine-generated file - use "minicom -s" to change parameters.
diff --git a/net-dialup/minicom/minicom-1.83.1.ebuild b/net-dialup/minicom/minicom-1.83.1.ebuild
new file mode 100644
index 000000000000..c206012a3e50
--- /dev/null
+++ b/net-dialup/minicom/minicom-1.83.1.ebuild
@@ -0,0 +1,50 @@
+# Copyright 1999-2001 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License, v2 or later
+# Author Ryan Tolboom <ryan@gentoo.org>
+# $Header: /var/cvsroot/gentoo-x86/net-dialup/minicom/minicom-1.83.1.ebuild,v 1.1 2001/05/31 20:32:51 ryan Exp $
+
+A="${P}.src.tar.gz"
+S=${WORKDIR}/${P}
+DESCRIPTION="Serial Communication Program"
+SRC_URI="http://www.clinet.fi/~walker/${A}"
+HOMEPAGE="http://www.clinet.fi/~walker/minicom.html"
+
+DEPEND=">=sys-libs/ncurses-5.2-r3"
+
+src_unpack() {
+
+ unpack ${A}
+ cd ${S}/src
+ cp Makefile Makefile.orig
+ cat Makefile.orig | sed -e "s:^FLAGS\t=.*$:FLAGS\t= -Wall -D_POSIX -D_SYSV -D_SELECT -pipe # -I/usr/include/ncurses ${CFLAGS}:" |\
+ sed -e "s:^LFLAGS\t=.*$:LFLAGS\t= -s ${CFLAGS}:" |\
+ sed -e "s:^CC\t=.*$:CC\t= gcc:" |\
+ sed -e "s:^LIBDIR\t=.*$:LIBDIR\t= /etc/minicom:" > Makefile
+ cp dial.c dial.c.orig
+ cat dial.c.orig | sed -e "s:<sys/time.h>:<time.h>:" > dial.c
+ cp common.c common.c.orig
+ cat common.c.orig |\
+ sed -e "s:#include <stdarg.h>:#include <stdarg.h>\n#include <time.h>:" > common.c
+
+}
+
+src_compile() {
+
+ cd src
+ try make
+
+}
+
+src_install() {
+
+ dobin src/minicom src/ascii-xfr src/runscript
+ doman man/minicom.1 man/ascii-xfr.1 man/runscript.1
+ dodoc doc/minicom.FAQ
+ docinto scripts
+ dodoc demos/*
+ exeinto /usr/X11R6/bin
+ doexe src/xminicom
+ insinto /etc/minicom
+ doins ${FILESDIR}/minirc.dfl
+
+}