gluon/package/gluon-web-osm/Makefile

25 lines
562 B
Makefile
Raw Permalink Normal View History

include $(TOPDIR)/rules.mk
PKG_NAME:=gluon-web-osm
include ../gluon.mk
define Package/gluon-web-osm
TITLE:=base src for OSM inlay
endef
2023-01-02 14:43:12 +00:00
PKG_CONFIG_DEPENDS += CONFIG_GLUON_MINIFY
define Package/gluon-web-osm/install
$(Gluon/Build/Install)
$(INSTALL_DIR) $(1)/lib/gluon/web/www/static/
ifdef CONFIG_GLUON_MINIFY
$(INSTALL_DATA) ./javascript/gluon-web-osm.min.js $(1)/lib/gluon/web/www/static/gluon-web-osm.js
else
$(INSTALL_DATA) ./javascript/gluon-web-osm.js $(1)/lib/gluon/web/www/static/
endif
endef
$(eval $(call BuildPackageGluon,gluon-web-osm))