From: spdawson at gmail.com <spdawson@gmail.com>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCH] json-javascript: new package
Date: Mon, 25 Jun 2012 15:43:17 +0100 [thread overview]
Message-ID: <1340635397-20780-1-git-send-email-spdawson@gmail.com> (raw)
From: Simon Dawson <spdawson@gmail.com>
Signed-off-by: Simon Dawson <spdawson@gmail.com>
---
package/Config.in | 1 +
package/json-javascript/Config.in | 6 ++++++
package/json-javascript/json-javascript.mk | 17 +++++++++++++++++
3 files changed, 24 insertions(+)
create mode 100644 package/json-javascript/Config.in
create mode 100644 package/json-javascript/json-javascript.mk
diff --git a/package/Config.in b/package/Config.in
index 99257b4..da61a12 100644
--- a/package/Config.in
+++ b/package/Config.in
@@ -385,6 +385,7 @@ source "package/jquery/Config.in"
source "package/jquery-sparkline/Config.in"
source "package/jquery-validation/Config.in"
source "package/jsmin/Config.in"
+source "package/json-javascript/Config.in"
endmenu
menu "Multimedia"
diff --git a/package/json-javascript/Config.in b/package/json-javascript/Config.in
new file mode 100644
index 0000000..501c54f
--- /dev/null
+++ b/package/json-javascript/Config.in
@@ -0,0 +1,6 @@
+config BR2_PACKAGE_JSON_JAVASCRIPT
+ bool "json-javascript"
+ help
+ JSON in JavaScript
+
+ https://github.com/douglascrockford/JSON-js/
diff --git a/package/json-javascript/json-javascript.mk b/package/json-javascript/json-javascript.mk
new file mode 100644
index 0000000..fc739d4
--- /dev/null
+++ b/package/json-javascript/json-javascript.mk
@@ -0,0 +1,17 @@
+#############################################################
+#
+# json-javascript
+#
+#############################################################
+JSON_JAVASCRIPT_VERSION = 42c18c621a411c3f39a81bb0a387fc50dcd738d9
+JSON_JAVASCRIPT_SITE = git://github.com/douglascrockford/JSON-js.git
+
+define JSON_JAVASCRIPT_INSTALL_TARGET_CMDS
+ $(INSTALL) -m 0644 -D $(@D)/json2.js $(TARGET_DIR)/var/www/json2.js
+endef
+
+define JSON_JAVASCRIPT_UNINSTALL_TARGET_CMDS
+ $(RM) $(TARGET_DIR)/var/www/json2.js
+endef
+
+$(eval $(call GENTARGETS))
--
1.7.9.5
next reply other threads:[~2012-06-25 14:43 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-06-25 14:43 spdawson at gmail.com [this message]
2013-05-05 20:17 ` [Buildroot] [PATCH] json-javascript: new package Peter Korsgaard
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1340635397-20780-1-git-send-email-spdawson@gmail.com \
--to=spdawson@gmail.com \
--cc=buildroot@busybox.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox