add new pkg gluon-geolocator

This commit is contained in:
Jan-Tarek Butt 2017-07-28 02:41:30 +02:00
parent 174dd3146f
commit 37bff434f8

View File

@ -0,0 +1,32 @@
include $(TOPDIR)/rules.mk
PKG_NAME:=gluon-geolocator
PKG_VERSION:=1
PKG_RELEASE:=1
PKG_BUILD_DIR := $(BUILD_DIR)/$(PKG_NAME)
include ../gluon.mk
define Package/gluon-geolocator
SECTION:=gluon
CATEGORY:=Gluon
TITLE:=Provide the geolocator to receive positions over wifi
DEPENDS:=+gluon-node-info +micrond
endef
define Build/Prepare
mkdir -p $(PKG_BUILD_DIR)
endef
define Package/gluon-geolocator/install
$(CP) ./files/* $(1)/
endef
define Package/gluon-geolocator/postinst
#!/bin/sh
$(call GluonCheckSite,check_site.lua)
endef
$(eval $(call BuildPackage,gluon-geolocator))