IGNOREPATH=/boot:/dev:/home:/mnt:/proc:/root:/tmp:/var/ax25:/var/log:/var/spool/cron

STRIPLIB=y
STRIPBIN=y

VERSION=0.5.4
PROGNAME="tlf"
DESC="TLF is a console (ncurses) mode general purpose CW keyer,\n\
-logging and -contest program for hamradio. It supports the\n\
CQWW, the WPX, the ARRL-DX , the ARRL-FD, the PACC and the EU\n\
SPRINT contests (single operator) as well as a lot more basic\n\
contests, general QSO and DXpedition mode. It interfaces with a\n\
morse code generator, a number of radios, and with a DX Cluster."

ARCH=i386
BUILD=1
MAINTAINER="Arno Verhoeven <pe1icq@sharon.esrac.ele.tue.nl>"
SOURCE="http://sharon.esrac.ele.tue.nl/pub/linux/ham/tlf/"
LOCATION="http://sharon.esrac.ele.tue.nl/pub/slackware/slackware-current/extra/ham/logging/"

# package name
PKGNAME=$PROGNAME-$VERSION-$ARCH-$BUILD

compile() {
   cd $TMP
   tar zxvf $CWD/$PROGNAME-$VERSION.tar.gz
   cd $PROGNAME-$VERSION
   ./configure --prefix=/usr
   make
}

install() {
   cd $TMP/$PROGNAME-$VERSION
   make install
   mkdir -p /usr/doc/$PROGNAME-$VERSION
   cp AUTHORS INSTALL NEWS /usr/doc/$PROGNAME-$VERSION
}

special() {
   # Generate a slack-desc file
 
   # output the package name first
   for a in 1 2 3 4 5 6 7 8 9 10 11
   do
      echo "$PROGNAME:" >> $TMP/leftside
   done
 
   # now place the description in a file
   echo -e "$DESC" > $TMP/rightside
 
   # combine the two
   paste -d ' ' $TMP/leftside $TMP/rightside > $CTL/slack-desc
   rm -rf $TMP/leftside $TMP/rightside
}                                                                                                  

subpacks() {
   repack manual
   repack cwkeyer
}