mirror of
https://github.com/openwrt/packages.git
synced 2025-12-22 01:44:32 +04:00
gpsd: Add a new package gpsd-utils to add gpsdctl
gpsd-utils include management tools for GPS daemon - and this commmit particularly introduces gpsdctl to add/remove device from the GPS daemon's device list over control socket. Signed-off-by: ekathva advaita <ekathva@hotmail.com>
This commit is contained in:
committed by
Polynomdivision
parent
a70b6d87c8
commit
a86c3666f3
@@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk
|
|||||||
|
|
||||||
PKG_NAME:=gpsd
|
PKG_NAME:=gpsd
|
||||||
PKG_VERSION:=3.21
|
PKG_VERSION:=3.21
|
||||||
PKG_RELEASE:=2
|
PKG_RELEASE:=3
|
||||||
|
|
||||||
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.xz
|
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.xz
|
||||||
PKG_SOURCE_URL:=@SAVANNAH/$(PKG_NAME)
|
PKG_SOURCE_URL:=@SAVANNAH/$(PKG_NAME)
|
||||||
@@ -70,6 +70,18 @@ define Package/gpsd-clients/description
|
|||||||
testing the GPS daemon.
|
testing the GPS daemon.
|
||||||
endef
|
endef
|
||||||
|
|
||||||
|
define Package/gpsd-utils
|
||||||
|
$(call Package/gpsd/Default)
|
||||||
|
SECTION:=utils
|
||||||
|
CATEGORY:=Utilities
|
||||||
|
TITLE:=GPS daemon utils
|
||||||
|
endef
|
||||||
|
|
||||||
|
define Package/gpsd-utils/description
|
||||||
|
$(call Package/gpsd/Default/description)
|
||||||
|
This package contains utilities for interacting with GPS daemon.
|
||||||
|
endef
|
||||||
|
|
||||||
define Package/libgps
|
define Package/libgps
|
||||||
$(call Package/gpsd/Default)
|
$(call Package/gpsd/Default)
|
||||||
SECTION:=libs
|
SECTION:=libs
|
||||||
@@ -137,6 +149,11 @@ define Package/gpsd-clients/install
|
|||||||
$(1)/usr/bin/
|
$(1)/usr/bin/
|
||||||
endef
|
endef
|
||||||
|
|
||||||
|
define Package/gpsd-utils/install
|
||||||
|
$(INSTALL_DIR) $(1)/usr/sbin
|
||||||
|
$(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/sbin/gpsdctl $(1)/usr/sbin/
|
||||||
|
endef
|
||||||
|
|
||||||
define Package/libgps/install
|
define Package/libgps/install
|
||||||
$(INSTALL_DIR) $(1)/usr/lib
|
$(INSTALL_DIR) $(1)/usr/lib
|
||||||
$(CP) $(PKG_INSTALL_DIR)/usr/lib/libgps.so.* $(1)/usr/lib/
|
$(CP) $(PKG_INSTALL_DIR)/usr/lib/libgps.so.* $(1)/usr/lib/
|
||||||
@@ -144,4 +161,5 @@ endef
|
|||||||
|
|
||||||
$(eval $(call BuildPackage,gpsd))
|
$(eval $(call BuildPackage,gpsd))
|
||||||
$(eval $(call BuildPackage,gpsd-clients))
|
$(eval $(call BuildPackage,gpsd-clients))
|
||||||
|
$(eval $(call BuildPackage,gpsd-utils))
|
||||||
$(eval $(call BuildPackage,libgps))
|
$(eval $(call BuildPackage,libgps))
|
||||||
|
|||||||
Reference in New Issue
Block a user