mirror of
https://github.com/openwrt/packages.git
synced 2025-02-07 03:29:52 +00:00
With the recent move to using ZSTD as the default compression format for packaging git repo clones we must refresh all of the hashes for the packages feed as well. Signed-off-by: Robert Marko <robimarko@gmail.com>
44 lines
1.1 KiB
Makefile
44 lines
1.1 KiB
Makefile
#
|
|
# Copyright (C) 2021 David Bauer <mail@david-bauer.net>
|
|
#
|
|
# This is free software, licensed under the GNU General Public License v2.
|
|
# See /LICENSE for more information.
|
|
#
|
|
|
|
include $(TOPDIR)/rules.mk
|
|
|
|
PKG_NAME:=clocate
|
|
PKG_SOURCE_DATE:=2023-01-20
|
|
PKG_RELEASE:=1
|
|
|
|
PKG_SOURCE_PROTO:=git
|
|
PKG_SOURCE_URL:=https://github.com/blocktrron/clocate.git
|
|
PKG_SOURCE_VERSION:=510cc944e4d4c28b5cc30d9808ab14e80486b437
|
|
PKG_MIRROR_HASH:=040785210a824c123e77e794da59e565d0d6520f5dc5c9f66a8d2b297aae126a
|
|
|
|
PKG_MAINTAINER:=David Bauer <mail@david-bauer.net>
|
|
PKG_LICENSE:=GPL-2.0-only
|
|
|
|
include $(INCLUDE_DIR)/package.mk
|
|
|
|
define Package/clocate
|
|
SECTION:=utils
|
|
CATEGORY:=Utilities
|
|
DEPENDS:=+libcurl +libnl-tiny +libjson-c
|
|
TITLE:=Determine device location using neighbouring WiFi networks
|
|
endef
|
|
|
|
define Package/clocate/description
|
|
This program can locate a device by sending the nighbouring WiFI networks
|
|
to a geolocation Provider. Currently supported providers are Mozilla and Google.
|
|
endef
|
|
|
|
define Package/clocate/install
|
|
$(INSTALL_DIR) $(1)/sbin
|
|
$(INSTALL_BIN) $(PKG_BUILD_DIR)/clocate $(1)/sbin/clocate
|
|
endef
|
|
|
|
MAKE_FLAGS += LIBNL_TINY=1
|
|
|
|
$(eval $(call BuildPackage,clocate))
|