mirror of
https://github.com/freifunk-gluon/packages.git
synced 2024-06-18 05:03:58 +02:00
24 lines
485 B
Makefile
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))
|