initial buildroot for linux 5.15

This commit is contained in:
Huan.Feng
2021-12-06 14:12:13 +08:00
parent d7767d594e
commit 7b6fc358fa
12736 changed files with 508822 additions and 0 deletions
+11
View File
@@ -0,0 +1,11 @@
config BR2_PACKAGE_OPENLAYERS
bool "openlayers"
help
OpenLayers makes it easy to put a dynamic map in any web
page. It can display map tiles, vector data and markers
loaded from any source. OpenLayers has been developed to
further the use of geographic information of all kinds. It
is completely free, Open Source JavaScript, released under
the 2-clause BSD License (also known as the FreeBSD).
https://openlayers.org
+2
View File
@@ -0,0 +1,2 @@
# Locally computed:
sha256 07d06f17f44399d86ddeac8d8000d39ff9db503257f77c59e5743d5934463623 v6.8.1-dist.zip
+24
View File
@@ -0,0 +1,24 @@
################################################################################
#
# openlayers
#
################################################################################
OPENLAYERS_VERSION = 6.8.1
OPENLAYERS_SOURCE = v$(OPENLAYERS_VERSION)-dist.zip
OPENLAYERS_SITE = https://github.com/openlayers/openlayers/releases/download/v$(OPENLAYERS_VERSION)
OPENLAYERS_LICENSE = BSD-2-Clause
# There's no separate license file in the archive, only minified files.
define OPENLAYERS_EXTRACT_CMDS
unzip $(OPENLAYERS_DL_DIR)/$(OPENLAYERS_SOURCE) -d $(@D)
mv $(@D)/v$(OPENLAYERS_VERSION)-dist/* $(@D)
rmdir $(@D)/v$(OPENLAYERS_VERSION)-dist/
endef
define OPENLAYERS_INSTALL_TARGET_CMDS
$(INSTALL) -D -m 0644 $(@D)/ol.css $(TARGET_DIR)/var/www/ol.css
$(INSTALL) -D -m 0644 $(@D)/ol.js $(TARGET_DIR)/var/www/ol.js
endef
$(eval $(generic-package))