2006-10-31 17:37:18 +00:00
|
|
|
#
|
2008-02-13 10:04:45 +00:00
|
|
|
# Copyright (C) 2006,2008 OpenWrt.org
|
2006-10-31 17:37:18 +00:00
|
|
|
#
|
|
|
|
# This is free software, licensed under the GNU General Public License v2.
|
|
|
|
# See /LICENSE for more information.
|
|
|
|
#
|
|
|
|
# $Id$
|
|
|
|
|
2006-07-30 22:38:47 +00:00
|
|
|
include $(TOPDIR)/rules.mk
|
|
|
|
|
|
|
|
PKG_NAME:=gpsd
|
2008-07-06 14:23:05 +00:00
|
|
|
PKG_VERSION:=2.37
|
2009-01-04 00:06:33 +00:00
|
|
|
PKG_RELEASE:=3
|
2006-07-30 22:38:47 +00:00
|
|
|
|
|
|
|
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
|
|
|
|
PKG_SOURCE_URL:=http://download.berlios.de/gpsd/
|
2008-07-06 14:23:05 +00:00
|
|
|
PKG_MD5SUM:=6c96cc0b2df0279cb7baac1ebc5881d3
|
2008-02-13 10:04:45 +00:00
|
|
|
|
|
|
|
PKG_FIXUP = libtool
|
2006-10-31 17:37:18 +00:00
|
|
|
|
2008-07-29 23:55:44 +00:00
|
|
|
PKG_BUILD_DEPENDS=libncurses
|
2006-07-30 22:38:47 +00:00
|
|
|
|
|
|
|
include $(INCLUDE_DIR)/package.mk
|
|
|
|
|
|
|
|
define Package/gpsd
|
|
|
|
SECTION:=net
|
|
|
|
CATEGORY:=Network
|
2008-07-29 23:55:44 +00:00
|
|
|
DEPENDS:=+libpthread +libstdcpp
|
2006-10-31 17:37:18 +00:00
|
|
|
TITLE:=An interface daemon for GPS receivers
|
2007-01-08 11:19:08 +00:00
|
|
|
URL:=http://gpsd.berlios.de/
|
2006-07-30 22:38:47 +00:00
|
|
|
endef
|
|
|
|
|
2007-09-03 16:08:44 +00:00
|
|
|
CONFIGURE_ARGS += \
|
2008-07-29 23:55:44 +00:00
|
|
|
--disable-dbus \
|
2007-12-16 13:12:11 +00:00
|
|
|
--disable-python \
|
|
|
|
--disable-sirf \
|
|
|
|
--disable-tsip \
|
|
|
|
--disable-fv18 \
|
|
|
|
--disable-tripmate \
|
|
|
|
--disable-earthmate \
|
|
|
|
--disable-itrax \
|
|
|
|
--disable-navcom \
|
|
|
|
--disable-garmin \
|
|
|
|
--disable-ubx \
|
|
|
|
--disable-evermore \
|
|
|
|
--disable-rtcm104 \
|
|
|
|
--disable-ntrip \
|
|
|
|
--disable-ntpshm \
|
|
|
|
--disable-pps \
|
|
|
|
--disable-reconfigure \
|
2008-02-13 10:04:45 +00:00
|
|
|
--without-x \
|
2007-09-03 16:08:44 +00:00
|
|
|
|
2008-07-29 23:55:44 +00:00
|
|
|
define Build/Compile
|
|
|
|
$(MAKE) -C $(PKG_BUILD_DIR) \
|
|
|
|
DESTDIR="$(PKG_INSTALL_DIR)" \
|
|
|
|
all install
|
2006-07-30 22:38:47 +00:00
|
|
|
endef
|
|
|
|
|
|
|
|
define Build/InstallDev
|
2008-07-29 23:55:44 +00:00
|
|
|
$(INSTALL_DIR) $(1)/usr/include
|
|
|
|
$(CP) $(PKG_INSTALL_DIR)/usr/include/gps.h $(1)/usr/include/
|
|
|
|
$(INSTALL_DIR) $(1)/usr/lib
|
|
|
|
$(CP) $(PKG_INSTALL_DIR)/usr/lib/libgps.{a,so*} $(1)/usr/lib/
|
2006-07-30 22:38:47 +00:00
|
|
|
endef
|
|
|
|
|
2006-10-31 17:37:18 +00:00
|
|
|
define Package/gpsd/install
|
2006-11-23 00:29:07 +00:00
|
|
|
$(INSTALL_DIR) $(1)/usr/lib
|
2009-01-04 00:06:33 +00:00
|
|
|
$(CP) $(PKG_INSTALL_DIR)/usr/lib/libgps.so.* $(1)/usr/lib/
|
2006-11-23 00:29:07 +00:00
|
|
|
$(INSTALL_DIR) $(1)/usr/sbin
|
2008-07-29 23:55:44 +00:00
|
|
|
$(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/sbin/gpsd $(1)/usr/sbin/
|
2006-10-31 17:37:18 +00:00
|
|
|
endef
|
|
|
|
|
2006-07-30 22:38:47 +00:00
|
|
|
$(eval $(call BuildPackage,gpsd))
|