system/gpsman: Added to 12.0 repository

This commit is contained in:
Kyle Guinn 2010-05-11 20:01:59 +02:00 committed by Robby Workman
parent 2d3e9b9d88
commit 3107b24228
4 changed files with 99 additions and 0 deletions

6
system/gpsman/README Normal file
View file

@ -0,0 +1,6 @@
GPS Manager (GPSMan) is a graphical manager of GPS data that makes possible
the preparation, inspection and edition of GPS data in a friendly environment.
GPSMan supports communication and real-time logging with Garmin, Lowrance and
Magellan receivers and accepts real-time logging information in NMEA 0183 from
any GPS receiver. GPSMan can also be used in command mode (with no graphical
interface).

View file

@ -0,0 +1,66 @@
#!/bin/sh
# Slackware build script for gpsman
# Written by Kyle Guinn <elyk03@gmail.com>
set -e
PRGNAM=gpsman
VERSION=6.3.2
ARCH=noarch
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
rm -rf $PRGNAM-$VERSION
tar -xzvf $CWD/$PRGNAM-$VERSION.tgz
cd $PRGNAM-$VERSION
chown -R root:root .
find . -type f -exec chmod 0644 {} \;
find . -type d -exec chmod 0755 {} \;
mkdir -p $PKG/usr/bin
mkdir -p $PKG/usr/lib/$PRGNAM
mkdir -p $PKG/usr/man/man1
mkdir -p $PKG/usr/share/$PRGNAM
sed -e "s/set SRCDIR gmsrc/set SRCDIR \/usr\/lib\/gpsman/" ./gpsman.tcl > $PKG/usr/lib/$PRGNAM/gpsman.tcl
chmod 0755 $PKG/usr/lib/$PRGNAM/gpsman.tcl
chmod 0755 ./util/*.tcl
cp -a ./util/*.tcl $PKG/usr/lib/$PRGNAM
cp -a ./gmsrc/*.tcl $PKG/usr/lib/$PRGNAM
cp -a ./gmsrc/gmicons $PKG/usr/share/$PRGNAM
cp -a ./man/man1/* $PKG/usr/man/man1
( cd $PKG/usr/man
find . -type f -exec gzip -9 {} \;
for i in $(find . -type l) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done
)
ln -s /usr/share/$PRGNAM/gmicons $PKG/usr/lib/$PRGNAM/gmicons
ln -s /usr/lib/$PRGNAM/gpsman.tcl $PKG/usr/bin/gpsman
ln -s /usr/lib/$PRGNAM/dos2gpsman.tcl $PKG/usr/bin/dos2gpsman
ln -s /usr/lib/$PRGNAM/exerciser.tcl $PKG/usr/bin/exerciser
ln -s /usr/lib/$PRGNAM/gf2gmn.tcl $PKG/usr/bin/gf2gmn
ln -s /usr/lib/$PRGNAM/mb2gmn.tcl $PKG/usr/bin/mb2gmn
ln -s /usr/lib/$PRGNAM/mou2gmn.tcl $PKG/usr/bin/mou2gmn
ln -s /usr/lib/$PRGNAM/shape2quadr.tcl $PKG/usr/bin/shape2quadr
ln -s /usr/lib/$PRGNAM/wpsinfull.tcl $PKG/usr/bin/wpsinfull
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a LICENSE manual/* $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
cd $PKG
/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.tgz

View file

@ -0,0 +1,8 @@
PRGNAM="gpsman"
VERSION="6.3.2"
HOMEPAGE="http://www.ncc.up.pt/gpsman/"
DOWNLOAD="http://www.ncc.up.pt/gpsman/gpsmanhtml/gpsman-6.3.2.tgz"
MD5SUM="dcc72b7a2a1b61f98f8432f8eb367213"
MAINTAINER="Kyle Guinn"
EMAIL="elyk03@gmail.com"
APPROVED="rworkman"

19
system/gpsman/slack-desc Normal file
View file

@ -0,0 +1,19 @@
# HOW TO EDIT THIS FILE:
# The "handy ruler" below makes it easier to edit a package description. Line
# up the first '|' above the ':' following the base package name, and the '|'
# on the right side marks the last column you can put a character in. You must
# make exactly 11 lines for the formatting to be correct. It's also
# customary to leave one space after the ':'.
|-----handy-ruler------------------------------------------------------|
gpsman: gpsman (GPS Manager)
gpsman:
gpsman: GPS Manager (GPSMan) is a graphical manager of GPS data that
gpsman: makes possible the preparation, inspection and edition of GPS
gpsman: data in a friendly environment.
gpsman:
gpsman:
gpsman:
gpsman:
gpsman:
gpsman: