Skip to contentSkip to conversation

erlang: New package.

PATCH New Will Newton 2 participants 2 messages Aug 22, 2012 – Aug 24, 2012

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 erlang: New package.

---
 package/Config.in                     |    1 +
 package/erlang/Config.in              |   17 ++++++++++
 package/erlang/erlang-build-fix.patch |   13 +++++++
 package/erlang/erlang.mk              |   57 +++++++++++++++++++++++++++++++++
 4 files changed, 88 insertions(+), 0 deletions(-)
 create mode 100644 package/erlang/Config.in
 create mode 100644 package/erlang/erlang-build-fix.patch
 create mode 100644 package/erlang/erlang.mk
package/Config.in +1 -0
index f308de7..57a6c31 100644
@@ -245,6 +245,7 @@ source "package/xfsprogs/Config.in"
 endmenu
 
 menu "Interpreter languages and scripting"
+source "package/erlang/Config.in"
 source "package/haserl/Config.in"
 source "package/lua/Config.in"
 source "package/luajit/Config.in"
package/erlang/Config.in new file +17 -0
new file mode 100644
index 0000000..6dd5a39
@@ -0,0 +1,17 @@
+config BR2_PACKAGE_ERLANG
+	bool "erlang"
+	help
+	  Erlang is a programming language used to build massively scalable
+	  soft real-time systems with requirements on high availability.
+	  Some of its uses are in telecoms, banking, e-commerce, computer
+	  telephony and instant messaging. Erlang's runtime system has
+	  built-in support for concurrency, distribution and fault tolerance.
+
+config BR2_PACKAGE_ERLANG_MEGACO
+	bool "install megaco application"
+	depends on BR2_PACKAGE_ERLANG
+	help
+	  The Megaco application is a framework for building applications
+	  on top of the Megaco/H.248 protocol. It is approximately 14MB in
+	  size so if you do not need it then it is recommended not to
+	  enable it.
(quoted diff) +0 -0

b/package/erlang/erlang-build-fix.patch
new file mode 100644
index 0000000..d2938a5

package/erlang/erlang-build-fix.patch new file +3 -0
@@ -0,0 +1,13 @@
+apply-patches.sh deletes this file from the source directory.
+
+--- erlang-R15B01.old/lib/tools/emacs/Makefile	2012-04-04

15:54:29.271832192 +0100
++++ erlang-R15B01/lib/tools/emacs/Makefile 2012-04-04 15:55:16.978957307 +0100
+@@ -51,7 +51,7 @@
+
+ ELC_FILES = $(EMACS_FILES:%=%.elc)
+
+-TEST_FILES = test.erl.indented test.erl.orig ++TEST_FILES = test.erl.indented
+
+ # ----------------------------------------------------
+ # Targets

package/erlang/erlang.mk new file +48 -0

48 lines not on this page · raw message

-exec rm -rf {} \;
+ for package in $(ERLANG_REMOVE_PACKAGES); do \
+ rm -rf $(TARGET_DIR)/usr/lib/erlang/lib/$${package}-*; \
+ done
+endef
+
+ERLANG_POST_INSTALL_TARGET_HOOKS += ERLANG_REMOVE_UNUSED +
+$(eval $(autotools-package))
+$(eval $(host-autotools-package))

Signature · 8 lines
1.7.1
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-erlang-New-package.patch
Type: application/octet-stream
Size: 4339 bytes
Desc: not available
URL: <http://lists.busybox.net/pipermail/buildroot/attachments/20120822/40c4eff5/attachment-0001.obj>
#1 lore raw

PATCH 1/1 erlang: New package.

Le Wed, 22 Aug 2012 14:01:09 +0100,
Will Newton <[email protected]> a ?crit :

Quoted 10 lines
---
 package/Config.in                     |    1 +
 package/erlang/Config.in              |   17 ++++++++++
 package/erlang/erlang-build-fix.patch |   13 +++++++
 package/erlang/erlang.mk              |   57 +++++++++++++++++++++++++++++++++
 4 files changed, 88 insertions(+), 0 deletions(-)
 create mode 100644 package/erlang/Config.in
 create mode 100644 package/erlang/erlang-build-fix.patch
 create mode 100644 package/erlang/erlang.mk

Your patch was again corrupted, but I fixed that up and committed to next.

Thanks!

Thomas

Signature · 4 lines
Thomas Petazzoni, Free Electrons
Kernel, drivers, real-time and embedded Linux
development, consulting, training and support.
http://free-electrons.com