Commit | Line | Data |
---|---|---|
6bbad484 JB |
1 | # Description: gpsd is a service daemon that monitors one or more GPSes |
2 | # URL: http://gpsd.berlios.de/ | |
38b50d66 | 3 | # Arch Maintainer: CRUX-ARM System Team, devel at crux-arm dot nu |
6bbad484 JB |
4 | # Depends on: |
5 | ||
6 | name=gpsd | |
40a26b07 | 7 | version=2.95 |
6bbad484 JB |
8 | release=1 |
9 | source=(http://download.berlios.de/$name/$name-$version.tar.gz) | |
10 | ||
11 | build () { | |
12 | cd $name-$version | |
6bbad484 JB |
13 | ./configure --build=$CHOST \ |
14 | --host=$CTARGET \ | |
15 | --prefix=/usr \ | |
40a26b07 VM |
16 | --disable-dbus \ |
17 | --disable-ipv6 \ | |
6bbad484 JB |
18 | --mandir=$PKG/usr/man |
19 | ||
40a26b07 VM |
20 | sed -e "s@-L/usr@-L$CLFS/usr@g" -e "s@-I/usr@-I$CLFS/usr@g" -i Makefile |
21 | ||
6bbad484 JB |
22 | make |
23 | make prefix=$PKG/usr install | |
24 | ||
25 | install -m 0644 *.1 $PKG/usr/man/man1 | |
26 | install -m 0644 *.3 $PKG/usr/man/man3 | |
27 | install -m 0644 *.5 $PKG/usr/man/man5 | |
28 | install -m 0644 *.8 $PKG/usr/man/man8 | |
29 | } |