mirror of
https://git.busybox.net/buildroot.git
synced 2024-11-26 23:13:27 +08:00
46d7d1c558
Signed-off-by: Thomas Claveirole <thomas.claveirole@green-communications.fr> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
23 lines
737 B
Makefile
23 lines
737 B
Makefile
################################################################################
|
|
#
|
|
# openlayers
|
|
#
|
|
################################################################################
|
|
|
|
OPENLAYERS_VERSION = 10.2.1
|
|
OPENLAYERS_SOURCE = v$(OPENLAYERS_VERSION)-package.zip
|
|
OPENLAYERS_SITE = https://github.com/openlayers/openlayers/releases/download/v$(OPENLAYERS_VERSION)
|
|
OPENLAYERS_LICENSE = BSD-2-Clause
|
|
OPENLAYERS_LICENSE_FILES = LICENSE.md
|
|
|
|
define OPENLAYERS_EXTRACT_CMDS
|
|
unzip $(OPENLAYERS_DL_DIR)/$(OPENLAYERS_SOURCE) -d $(@D)
|
|
endef
|
|
|
|
define OPENLAYERS_INSTALL_TARGET_CMDS
|
|
$(INSTALL) -D -m 0644 $(@D)/ol.css $(TARGET_DIR)/var/www/ol.css
|
|
$(INSTALL) -D -m 0644 $(@D)/dist/ol.js $(TARGET_DIR)/var/www/ol.js
|
|
endef
|
|
|
|
$(eval $(generic-package))
|