# # Copyright (C) 2006-2014 OpenWrt.org # # This is free software, licensed under the GNU General Public License v3. # include $(TOPDIR)/rules.mk LIME_BUILDDATE:=$(shell date +%Y%m%d_%H%M) GIT_COMMIT_DATE:=$(shell git log -n 1 --pretty=%ad --date=short . ) GIT_COMMIT_TSTAMP:=$(shell git log -n 1 --pretty=%at . ) PKG_NAME:=lime-map-agent PKG_VERSION=$(GIT_COMMIT_DATE)-$(GIT_COMMIT_TSTAMP) include $(INCLUDE_DIR)/package.mk define Package/$(PKG_NAME) TITLE:=LiMe LibreMap agent CATEGORY:=LibreMesh MAINTAINER:=Gioacchino Mazzurco URL:=http://libremesh.org DEPENDS:=+libremap-agent +luci-lib-libremap-location +luci-lib-libremap-system +luci-lib-libremap-wireless \ +luci-app-lime-location PKGARCH:=all endef define Package/$(PKG_NAME)/description LiMe autoconfiguration module for LibreMap agent endef define Build/Compile endef define Package/$(PKG_NAME)/install $(INSTALL_DIR) $(1)/ endef $(eval $(call BuildPackage,$(PKG_NAME)))