IGNOREPATH=/boot:/cdrom:/dev:/home:/mnt:/proc:/root:/tmp:/usr/src:/var/ax25:/var/log:/var/spool/cron STRIPLIB=y STRIPBIN=y VERSION=0.0.6 PROGNAME="AX.25 applications version $VERSION" DESC="AX.25 applications $VERSION \n\ \n\ These are the essential applications for use with AX.25 \n\ packet radio. \n\ Requires libax25 to be installed. \n\ The configuration files are included, but this packages \n\ will not overwrite any existing config files." ARCH=i386 BUILD=1 MAINTAINER="Arno Verhoeven " SOURCE="http://prdownloads.sourceforge.net/ax25/" LOCATION="http://sharon.esrac.ele.tue.nl/pub/linux/slackware-current/contrib/ham/packet/" # package name PKGNAME=ax25_apps-$VERSION-$ARCH-$BUILD compile() { cd $TMP tar zxvf $CWD/ax25-apps-$VERSION.tar.gz cd ax25-apps-$VERSION ./configure --prefix=/usr --datadir=/usr --sysconfdir=/etc --localstatedir=/var make } install() { cd $TMP/ax25-apps-$VERSION make install make installconf mkdir -p /usr/doc/ax25-apps cp AUTHORS ChangeLog INSTALL NEWS README /usr/doc/ax25-apps } 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 "$PKGNAME:" >> $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() { echo "no sub-packages..." }