Skip to content
Snippets Groups Projects
Commit 2db3f202 authored by Michael Schwarz's avatar Michael Schwarz Committed by Karsten Böddeker
Browse files

Show site_name in alfred data

parent e100abf0
No related branches found
No related tags found
No related merge requests found
include $(TOPDIR)/rules.mk
PKG_NAME:=ffpb-alfred-config
PKG_VERSION:=1
PKG_RELEASE:=$(GLUON_VERSION).$(GLUON_SITE_CODE)-$(GLUON_RELEASE).$(GLUON_CONFIG_VERSION)
PKG_BUILD_DIR := $(BUILD_DIR)/$(PKG_NAME)
include $(INCLUDE_DIR)/package.mk
define Package/ffpb-alfred-config
SECTION:=ffpb
CATEGORY:=workarounds
TITLE:=Additional A.L.F.R.E.D. config files
DEPENDS:=+busybox
MAINTAINER:=Freifunk Paderborn <maschinenraum@paderborn.freifunk.net>
URL:=https://git.c3pb.de/freifunk-pb/ffpb-packages
SOURCE:=git@git.c3pb.de:freifunk-pb/ffpb-packages.git
endef
define Package/ffpb-alfred-config/description
This package contains additional config files for A.L.F.R.E.D.
endef
define Build/Prepare
endef
define Build/Configure
endef
define Build/Compile
endef
define Package/ffpb-alfred-config/install
$(INSTALL_DIR) $(1)/lib/gluon/announce/nodeinfo.d/system
$(INSTALL_DATA) ./files/lib/gluon/announce/nodeinfo.d/system/* $(1)/lib/gluon/announce/nodeinfo.d/system/
endef
$(eval $(call BuildPackage,ffpb-alfred-config))
local site = require 'gluon.site_config'
return site.site_name
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment