1
0
mirror of https://github.com/freifunk-gluon/packages.git synced 2024-06-14 03:03:54 +02:00
gluon-packages/libs/lua-geolocate/Makefile
Matthias Schiffer 53a659abf8
lua-geolocate: add package for WLAN-based geolocation based on openwifi.su
Based-on-patch-by: Jan-Tarek Butt <tarek@ring0.de>
2018-02-27 18:14:07 +01:00

24 lines
485 B
Makefile

include $(TOPDIR)/rules.mk
PKG_NAME:=lua-geolocate
PKG_VERSION:=1
include $(INCLUDE_DIR)/package.mk
define Package/lua-geolocate
SECTION:=libs
CATEGORY:=Libraries
TITLE:=WLAN-based geolocation librari based on openwifi.su
DEPENDS:=+libubus-lua +libiwinfo-lua +lua-jsonc
endef
define Build/Compile
endef
define Package/lua-geolocate/install
$(INSTALL_DIR) $(1)/usr/lib/lua
$(INSTALL_DATA) src/geolocate.lua $(1)/usr/lib/lua/
endef
$(eval $(call BuildPackage,lua-geolocate))