summaryrefslogtreecommitdiffstats
path: root/ham/unixcw
diff options
context:
space:
mode:
Diffstat (limited to 'ham/unixcw')
-rwxr-xr-xham/unixcw/BUILD26
-rwxr-xr-xham/unixcw/DEPENDS1
-rwxr-xr-xham/unixcw/DETAILS23
-rw-r--r--ham/unixcw/HISTORY21
-rwxr-xr-xham/unixcw/unixcw3
5 files changed, 74 insertions, 0 deletions
diff --git a/ham/unixcw/BUILD b/ham/unixcw/BUILD
new file mode 100755
index 0000000000..4ebd5d7f90
--- /dev/null
+++ b/ham/unixcw/BUILD
@@ -0,0 +1,26 @@
+(
+
+ if ! [ -e /usr/lib/libqt.so ]; then
+ ln -s /usr/lib/libqt-mt.so.3.0.4 /usr/lib/libqt.so
+ fi
+
+ mkdir /tmp/unixcw_qt
+ ln -s /usr/include/qt /tmp/unixcw_qt/include
+ ln -s /usr/bin /tmp/unixcw_qt/bin
+ ln -s /usr/lib/qt /tmp/unixcw_qt/lib
+ export QTDIR=/tmp/unixcw_qt
+
+ ./configure --prefix=/usr \
+ --sysconfdir=/etc \
+ --localstatedir=/var \
+ $OPTS &&
+ make all &&
+ prepare_install &&
+ make install &&
+ rm -r /tmp/unixcw_qt/ &&
+ ln -sf /usr/man/man1/xcwcp.1.gz \
+ /usr/man/man1/unixcw.1.gz &&
+
+ cp $SCRIPT_DIRECTORY/unixcw /usr/bin
+
+) > $C_FIFO 2>&1
diff --git a/ham/unixcw/DEPENDS b/ham/unixcw/DEPENDS
new file mode 100755
index 0000000000..8d61058554
--- /dev/null
+++ b/ham/unixcw/DEPENDS
@@ -0,0 +1 @@
+depends qt-x11
diff --git a/ham/unixcw/DETAILS b/ham/unixcw/DETAILS
new file mode 100755
index 0000000000..087b23c214
--- /dev/null
+++ b/ham/unixcw/DETAILS
@@ -0,0 +1,23 @@
+ SPELL=unixcw
+ VERSION=2.2
+ SOURCE=$SPELL-$VERSION.tgz
+SOURCE_DIRECTORY=$BUILD_DIRECTORY/$SPELL-$VERSION
+ SOURCE_URL[0]=ftp://sunsite.unc.edu/pub/Linux/apps/ham/morse/$SOURCE
+ WEB_SITE=ftp://sunsite.unc.edu/pub/Linux/apps/ham/morse
+ LICENSE=GPL
+ MD5=22dd19d7750f74f2e85dfecf939e7499
+ ENTERED=20020106
+ UPDATED=20020106
+ MAINTAINER=jason@flattfamily.com
+ SHORT="Complete suite of morse code programs."
+cat << EOF
+
+UnixCW is a package of UNIX-based programs that fit together to form a CW
+tutor program similar to CP222 by VU2ZAP. The core of the package is cwlib,
+a general-purpose CW functions library. There are four programs in the
+package built around this library: a simple Morse code sounding program; a
+small random character generator; a curses-based Morse code tutor; and a
+Qt-based (X windows) Morse code tutor. The Qt-based tutor program offers
+send practice as well as receive. The package includes complete man pages.
+
+EOF
diff --git a/ham/unixcw/HISTORY b/ham/unixcw/HISTORY
new file mode 100644
index 0000000000..fcb7bf7dd1
--- /dev/null
+++ b/ham/unixcw/HISTORY
@@ -0,0 +1,21 @@
+2003-04-25 Jason Flatt <jason@flattfamily.com>
+ * Updated MAINTAINER e-mail address
+
+2002-06-15 Jason Flatt <jasonflatt@wizard.com>
+ * Re-added back into grimoire. Thanks to Andrew Stitt <afrayedknot@thefrayedknot.armory.com>
+ for locating and correcting the Qt compile problem.
+
+2002-06-15 Jason Flatt <jasonflatt@wizard.com>
+ * Added LICENSE and MD5 to DETAILS.
+
+2002-05-29 Jason Flatt <jasonflatt@wizard.com>
+ * Added USEGCC2 file in preparation for gcc3 upgrade.
+
+2002-05-19 Jason Flatt <jasonflatt@wizard.com>
+ * Added this History file.
+ Updated VERSION in DETAILS from 2.1 to 2.2.
+
+200?-??-?? Bob Finch <w9ya@amsat.org>
+
+ Created spell
+
diff --git a/ham/unixcw/unixcw b/ham/unixcw/unixcw
new file mode 100755
index 0000000000..d399b9dd1d
--- /dev/null
+++ b/ham/unixcw/unixcw
@@ -0,0 +1,3 @@
+#!/bin/sh
+xcwcp -d /dev/tty4
+