Subversion Repository

Parent Directory Parent Directory | Revision Log Revision Log


Revision 2479 - (show annotations)
Tue Oct 4 18:19:35 2011 UTC (19 months, 2 weeks ago) by acrux
File size: 813 byte(s)
fixed url
1 # Description: GPS daemon and library to support USB/serial GPS devices
2 # URL: http://www.catb.org/gpsd/
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=(ftp://ftp.cruxppc.org/cruxppc/distfiles/$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 }