From patchwork Thu Oct 17 13:18:50 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Thomas Claveirole X-Patchwork-Id: 1178593 Return-Path: X-Original-To: incoming-buildroot@patchwork.ozlabs.org Delivered-To: patchwork-incoming-buildroot@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=busybox.net (client-ip=140.211.166.136; helo=silver.osuosl.org; envelope-from=buildroot-bounces@busybox.net; receiver=) Authentication-Results: ozlabs.org; dmarc=none (p=none dis=none) header.from=green-communications.fr Received: from silver.osuosl.org (smtp3.osuosl.org [140.211.166.136]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 46v8yw3hQwz9sPV for ; Fri, 18 Oct 2019 00:24:39 +1100 (AEDT) Received: from localhost (localhost [127.0.0.1]) by silver.osuosl.org (Postfix) with ESMTP id 586DE20243; Thu, 17 Oct 2019 13:24:36 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from silver.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id gfyjH2txlhrv; Thu, 17 Oct 2019 13:24:34 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by silver.osuosl.org (Postfix) with ESMTP id 6AADF203F1; Thu, 17 Oct 2019 13:24:34 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from fraxinus.osuosl.org (smtp4.osuosl.org [140.211.166.137]) by ash.osuosl.org (Postfix) with ESMTP id 148AB1BF834 for ; Thu, 17 Oct 2019 13:24:33 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by fraxinus.osuosl.org (Postfix) with ESMTP id 1161084E7A for ; Thu, 17 Oct 2019 13:24:33 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from fraxinus.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id vqJYzXh7mj9j for ; Thu, 17 Oct 2019 13:24:31 +0000 (UTC) X-Greylist: delayed 00:05:06 by SQLgrey-1.7.6 Received: from mout.kundenserver.de (mout.kundenserver.de [212.227.126.135]) by fraxinus.osuosl.org (Postfix) with ESMTPS id 35E7C84755 for ; Thu, 17 Oct 2019 13:24:30 +0000 (UTC) Received: from hardbit.localdomain ([92.154.77.116]) by mrelayeu.kundenserver.de (mreue010 [212.227.15.168]) with ESMTPSA (Nemesis) id 1MbAtM-1hjp3a0meO-00bds9; Thu, 17 Oct 2019 15:19:22 +0200 From: Thomas Claveirole To: buildroot@buildroot.org Date: Thu, 17 Oct 2019 15:18:50 +0200 Message-Id: <20191017131851.26272-1-thomas.claveirole@green-communications.fr> X-Mailer: git-send-email 2.23.0 MIME-Version: 1.0 X-Provags-ID: V03:K1:+pj6/n5S76S8U9NJSZobsvcqWwBta9hLbBdW275gSKvZ+3pc6Cm LRAkUaYS1Se4rt/1z7zqZ3vOgiFcZD/SboVzDU9D7GoYF1B7YrUPVpnvtgwTVjZ44Gqy74V QtTCr2crODPpLdZCRzYAeUyRYJrD6tQJhzMNcsyTzBlYsdgkcnYsQy0+GQyT2Jb9dwMVLey 9N+jSuKoP+Rx6ZGYqWCkQ== X-UI-Out-Filterresults: notjunk:1; V03:K0:oUPPk1gY10g=:ViHZvAuAlHHcdcJ38cwSDG qUaYE05bCgt/yB3LA5AmxwupSdjF9RcJHEaDtuN4+8XQ8xFpwyti+tYo3P+AmuDJ632iagj1C o/msb2bOX3ZU8QWZmRI2qapz62GUOB8caTtS82KFAxeSOPNyNjhXXmPbfalbk4ftdyc7jZHK4 e798KLRFbKn5+qfWZZxUpBUTKZjiAMHQqmMnyCoDvcD65Dnkqzqcjs49FcOYoqcaCvIpBX56+ 3sRHk0MCkGqf7sxpgZd660g1XdlIJLyfp0XHmVyDFdcJ3XE70evP3v6oZnXpRXhXgV+J8BJLO zTccqplLOUbeAl43rO5ohDOwk+BCswREqz3LHZTfm+ZLz9IsyScFAZGU1Gjs/3RTAHV1ItaGP OnzGQCozu9Wy9nMVGsfXx/faSXl76UlEkUJf1rlZ3mPyWV0WdEat1/v8mOjllVfnpdc1pGlHQ kTSsFAbL1yX6mRPUMjYuQ4aFX12XuJe9KBhiLa8NcB6+qt2sk+55hBtYnLKeveXx3YVuYNwDr jVphiEE0lbf6oJP7438nOgDiet8afwUasHGakkRvenrilJk645PVZrXoQTT6BLED79cMVhTCW HLvpxe3JJBoVL7b1ILbw21oZkldnUNQ9qM/2BlVZ3usl8o8Q55cyBho4QtArDq99rrZjRX/KF RqB/NOa1+DoleY+Q8ViFqWqlkRKxUDweRfboOHwBDmHsPwSKkQn7UfGRQU6u4pdsLi5cazKau nlM31P+exX6dwgu4RjBLiGixHNoSPuFHTjuyTDXVzH7aioo/cEBDMo67VvMDHvzXCH3ZSE6hH lrOH05iMIvv9wr27c1FJx3qT0BP2iIrs9dly5G/8nYKPJuyTuCYDf3HXkiabYFy/3matChBZO 3Gv5q8+zhYO2UhshBd7A+bdoUHnQznHer9vud/qruUBIIK7XpsyheUa89VvTbL Subject: [Buildroot] [PATCH 1/1] package/openlayers: new package X-BeenThere: buildroot@busybox.net X-Mailman-Version: 2.1.29 Precedence: list List-Id: Discussion and development of buildroot List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Thomas Claveirole Errors-To: buildroot-bounces@busybox.net Sender: "buildroot" Signed-off-by: Thomas Claveirole --- 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 diff --git a/package/Config.in b/package/Config.in index a51313235c..c739a968cb 100644 --- a/package/Config.in +++ b/package/Config.in @@ -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" diff --git a/package/openlayers/Config.in b/package/openlayers/Config.in new file mode 100644 index 0000000000..a7b7f334cf --- /dev/null +++ b/package/openlayers/Config.in @@ -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 diff --git a/package/openlayers/openlayers.hash b/package/openlayers/openlayers.hash new file mode 100644 index 0000000000..edb6f937e1 --- /dev/null +++ b/package/openlayers/openlayers.hash @@ -0,0 +1,2 @@ +# Locally computed: +sha256 4d62277993108a256fe4d11c02f880f15d4ef184f70e246e52cf1f164ac8ff8b v6.0.1-dist.zip diff --git a/package/openlayers/openlayers.mk b/package/openlayers/openlayers.mk new file mode 100644 index 0000000000..6dadc6d96a --- /dev/null +++ b/package/openlayers/openlayers.mk @@ -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))