Subversion Repository

Parent Directory Parent Directory | Revision Log Revision Log


Revision 2099 - (show annotations)
Sun Dec 12 11:59:16 2010 UTC (2 years, 5 months ago) by acrux
File size: 762 byte(s)
initial import
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: ncurses, libusb, python, glib, dbus, dbus-python
5 # PPC!=upstream:
6
7 name=gpsd
8 version=2.95
9 release=1
10 source=(http://download.berlios.de/$name/$name-$version.tar.gz rc.gpsd \
11 ftp://ftp.cruxppc.org/cruxppc/distfiles/$name-2.94-man.tar.xz)
12
13 build () {
14 cd $name-$version
15
16 ./configure --prefix=/usr --mandir=/usr/man \
17 --with-gnu-ld --enable-dbus \
18 --enable-raw --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 mv $SRC/man $PKG/usr/
26 # you need pygtk to use xgps*
27 rm $PKG/usr/{bin,man/man1}/xgps*
28 }