#Maintainer: Christopher Rey P. Baluyut pkgname=gpsd pkgver=2.39 pkgrel=2 zenver=64 arch=i486 source=("http://prdownload.berlios.de/$pkgname/$pkgname-$pkgver.tar.gz" "http://zenwalk.pinguix.com/user-accounts/shingoku/$pkgname/source/70-gpsd.rules" "http://zenwalk.pinguix.com/user-accounts/shingoku/$pkgname/source/gpsd" "http://zenwalk.pinguix.com/user-accounts/shingoku/$pkgname/source/patches/$pkgname-pkgconfig_templates.patch") sourcetemplate=http://zenwalk.pinguix.com/user-accounts/shingoku/$pkgname/source docs=('AUTHORS' 'COPYING' 'INSTALL' 'README' 'TODO') url="http://gpsd.berlios.de/" slackdesc=\ ( #|-----handy-ruler------------------------------------------------------| "gpsd (GPS service daemon)" "gpsd is a service daemon that monitors one or more GPSes attached to" "a host computer through serial or USB ports, making all data on the" "location/course/velocity available to be queried on TCP port 2947" "of the host computer. With gpsd, multiple GPS client applications" "(such as navigational and wardriving software) can share access to" "GPSes without contention or loss of data." ) build() { cd $startdir/src/$pkgname-$pkgver patch -p1 < $startdir/src/$pkgname-pkgconfig_templates.patch || exit 1 ./configure \ --prefix=/usr \ --libdir=/usr/lib \ --localstatedir=/var \ --mandir=/usr/man \ --enable-dbus \ --enable-itrax \ --enable-tnt \ --enable-dbus \ --enable-squelch \ --build=i486-slackware-linux || exit 1 make || exit 1 make install DESTDIR=$startdir/pkg || exit 1 mkdir -p $startdir/pkg/lib/udev/agents.d/usb/ mkdir -p $startdir/pkg/lib/udev/rules.d/ install -m 755 $startdir/src/gpsd $startdir/pkg/lib/udev/agents.d/usb/ install -m 644 $startdir/src/70-gpsd.rules $startdir/pkg/lib/udev/rules.d/ install -m 644 gpsd_config.h $startdir/pkg/usr/include }