diff --git a/rules/gpsd/default.bash b/rules/gpsd/default.bash deleted file mode 100644 index 85f1ec7..0000000 --- a/rules/gpsd/default.bash +++ /dev/null @@ -1,45 +0,0 @@ -version=\ -( - "2.95" -) - -url=\ -( - "http://download.berlios.de/gpsd/gpsd-$version.tar.gz" -) - -md5=\ -( - "12535a9ed9fecf9ea2c5bdc9840da5ae" -) - -maintainer=\ -( - "Ricardo Martins " -) - -configure() -{ - ../gpsd-$version/configure \ - --prefix="$cfg_dir_rootfs/usr" \ - --target=$cfg_target_canonical \ - --host=$cfg_target_canonical \ - --build=$cfg_host_canonical \ - --disable-dbus \ - --disable-libQgpsmm -} - -build() -{ - $cmd_make -} - -target_install() -{ - $cmd_target_strip .libs/gpsd -o $cfg_dir_rootfs/usr/bin/gpsd && - for l in .libs/libgps*so*; do - $cmd_target_strip "$l" -o $cfg_dir_rootfs/usr/lib/"$(basename $l)" - done - - cp "$pkg_dir"/services/gpsd "$cfg_dir_rootfs/etc/rc.d" -} diff --git a/rules/gpsd/services/gpsd b/rules/gpsd/services/gpsd deleted file mode 100644 index 85b49e2..0000000 --- a/rules/gpsd/services/gpsd +++ /dev/null @@ -1,14 +0,0 @@ -# Configuration Parameters -# cfg_gpsd_dev: serial port device. -# cfg_gpsd_baud: serial port baud rate. - -start() -{ - stty -F "$cfg_gpsd_dev" "$cfg_gpsd_baud" - gpsd -n "$cfg_gpsd_dev" -} - -stop() -{ - killall gpsd -}