package/openlayers: new package
PATCH 1/1 package/openlayers: new package
Signed-off-by Thomas Claveirole <[email protected]>
--- package/Config.in | 1 + package/openlayers/Config.in | 11 +++++++++++ package/openlayers/openlayers.hash | 2 ++ package/openlayers/openlayers.mk | 24 ++++++++++++++++++++++++ 4 files changed, 38 insertions(+) create mode 100644 package/openlayers/Config.in create mode 100644 package/openlayers/openlayers.hash create mode 100644 package/openlayers/openlayers.mk
package/Config.in +1 -0
@@ -1471,6 +1471,7 @@ endmenu endif source "package/jsmin/Config.in" source "package/json-javascript/Config.in" + source "package/openlayers/Config.in" endmenu menu "JSON/XML"
package/openlayers/Config.in new file +11 -0
@@ -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
package/openlayers/openlayers.hash new file +2 -0
@@ -0,0 +1,2 @@ +# Locally computed: +sha256 4d62277993108a256fe4d11c02f880f15d4ef184f70e246e52cf1f164ac8ff8b v6.0.1-dist.zip
package/openlayers/openlayers.mk new file +24 -0
@@ -0,0 +1,24 @@ +################################################################################ +# +# openlayers +# +################################################################################ + +OPENLAYERS_VERSION = 6.0.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) -m 0644 -D -t $(TARGET_DIR)/var/www/ \ + $(@D)/ol.css $(@D)/ol.js +endef + +$(eval $(generic-package))
Signature · 1 line
2.23.0
PATCH 1/1 package/openlayers: new package
--- package/Config.in | 1 + package/openlayers/Config.in | 11 +++++++++++ package/openlayers/openlayers.hash | 2 ++ package/openlayers/openlayers.mk | 24 ++++++++++++++++++++++++ 4 files changed, 38 insertions(+) create mode 100644 package/openlayers/Config.in create mode 100644 package/openlayers/openlayers.hash create mode 100644 package/openlayers/openlayers.mk
package/Config.in +1 -0
@@ -1471,6 +1471,7 @@ endmenu endif source "package/jsmin/Config.in" source "package/json-javascript/Config.in" + source "package/openlayers/Config.in" endmenu menu "JSON/XML"
package/openlayers/Config.in new file +11 -0
@@ -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
package/openlayers/openlayers.hash new file +2 -0
@@ -0,0 +1,2 @@ +# Locally computed: +sha256 4d62277993108a256fe4d11c02f880f15d4ef184f70e246e52cf1f164ac8ff8b v6.0.1-dist.zip
package/openlayers/openlayers.mk new file +24 -0
@@ -0,0 +1,24 @@ +################################################################################ +# +# openlayers +# +################################################################################ + +OPENLAYERS_VERSION = 6.0.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) -m 0644 -D -t $(TARGET_DIR)/var/www/ \ + $(@D)/ol.css $(@D)/ol.js +endef + +$(eval $(generic-package))
Signature · 1 line
2.23.0
Thomas Petazzoni
AppliedPATCH 1/1 package/openlayers: new package
In reply to Thomas ClaveiroleQuoted 10 lines · On Thu, 17 Oct 2019 15:18:50 +0200 Thomas Claveirole…
Signed-off-by Thomas Claveirole <[email protected]>--- package/Config.in | 1 + package/openlayers/Config.in | 11 +++++++++++ package/openlayers/openlayers.hash | 2 ++ package/openlayers/openlayers.mk | 24 ++++++++++++++++++++++++ 4 files changed, 38 insertions(+) create mode 100644 package/openlayers/Config.in create mode 100644 package/openlayers/openlayers.hash create mode 100644 package/openlayers/openlayers.mk
Applied to master, thanks. I forgot that an entry in the DEVELOPERS file should be added: can you send a follow-up patch adding it ?
Thanks!
Thomas
Signature · 3 lines
Thomas Petazzoni, CTO, Bootlin Embedded Linux and Kernel engineering https://bootlin.com
PATCH 1/1 package/openlayers: new package
Quoted 2 lines
Applied to master, thanks. I forgot that an entry in the DEVELOPERS file should be added: can you send a follow-up patch adding it ?
Sure. It should follow this reply.
Thomas Claveirole (1):
DEVELOPERS: add Thomas Claveirole for openlayers
DEVELOPERS | 1 + 1 file changed, 1 insertion(+)
--
2.23.0
PATCH 1/1 DEVELOPERS: add Thomas Claveirole for openlayers
In reply to Thomas PetazzoniSigned-off-by Thomas Claveirole <[email protected]>
--- DEVELOPERS | 1 + 1 file changed, 1 insertion(+)
DEVELOPERS +1 -0
@@ -2249,6 +2249,7 @@ F: package/x265/ N: Thomas Claveirole <[email protected]> F: package/fcgiwrap/ +F: package/openlayers/ N: Thomas Davis <[email protected]> F: package/civetweb/
Signature · 1 line
2.23.0
Thomas Petazzoni
AppliedPATCH 1/1 DEVELOPERS: add Thomas Claveirole for openlayers
Quoted 4 lines · On Tue, 22 Oct 2019 11:17:40 +0200 Thomas Claveirole…
Signed-off-by Thomas Claveirole <[email protected]>--- DEVELOPERS | 1 + 1 file changed, 1 insertion(+)
Applied to master, thanks.
Thomas
Signature · 3 lines
Thomas Petazzoni, CTO, Bootlin Embedded Linux and Kernel engineering https://bootlin.com