# pkginfo VERSION=0.1 PROGNAME="tlfcwkeyer" DESC="TLF cwkeyer source files\n\ These kernel modules need to be built from source\n\ This package contains the source files of both the\n\ serial keyer and the parallel port keyer." BUILD=1 ARCH=noarch # package name SUBPKGNAME=$PROGNAME-$VERSION-$ARCH-$BUILD subinstall() { cd /usr/src tar zxvf $CWD/TLFcwkeyer.tar.gz cp $CWD/cwkeyer.c.k24 cwkeyer-0.1/ tar zxvf $CWD/cwkeyer.tgz } subspecial() { # 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 > $SUBCTL/slack-desc rm -rf $TMP/leftside $TMP/rightside }