Subversion Repository

Parent Directory Parent Directory | Revision Log Revision Log


Revision 2335 - (show annotations)
Fri Apr 15 21:55:11 2011 UTC (2 years, 1 month ago) by acrux
File size: 804 byte(s)
gpsd: updated to 2.96bis
1 # Description: GPS daemon and library to support USB/serial GPS devices
2 # URL: http://gpsd.berlios.de/
3 # Maintainer: acrux, acrux at linuxmail dot org
4 # Depends on: python, glib, dbus, dbus-python
5 # PPC!=upstream:
6
7 name=gpsd
8 version=2.96bis
9 release=1
10 source=(http://download.berlios.de/$name/$name-$version.tar.gz \
11 rc.gpsd)
12
13 build () {
14 cd $name-2.96
15
16 ./configure --prefix=/usr --mandir=/usr/man \
17 --with-gnu-ld --enable-dbus \
18 --enable-bluetooth
19
20 make
21 make prefix=$PKG/usr install
22
23 mkdir -p $PKG/var/run/gpsd
24 install -D -m 0755 $SRC/rc.gpsd $PKG/etc/rc.d/gpsd
25
26 mkdir -p $PKG/usr/man/man{1,3,5,8}
27 for i in {1,3,5,8}
28 do install -m 644 *.${i} $PKG/usr/man/man${i}
29 done
30
31 find $PKG -name '*.egg-info' | xargs rm -rf
32
33 # you need pygtk to use xgps*
34 rm $PKG/usr/{bin,man/man1}/xgps*
35 }