[packages] add Erlang/OTP programming language

git-svn-id: svn://svn.openwrt.org/openwrt/packages@15327 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
nico
2009-04-21 18:40:30 +00:00
parent 729f2c3d69
commit deeb71e81c
3 changed files with 367 additions and 0 deletions

View File

@ -0,0 +1,25 @@
--- a/Makefile.in
+++ b/Makefile.in
@@ -809,9 +809,10 @@ install.Install:
# Install erlang base public files
#
install.bin:
+ cd $(BINDIR); \
for file in $(ERL_BASE_PUB_FILES); do \
rm -f $(BINDIR)/$$file; \
- ${LN_S} $(ERLANG_BINDIR)/$$file $(BINDIR)/$$file; \
+ ${LN_S} ../lib/erlang/bin/$$file .; \
done
#
--- a/erts/etc/unix/Install.src
+++ b/erts/etc/unix/Install.src
@@ -104,7 +104,7 @@ if [ -h epmd ]; then
/bin/rm -f epmd
fi
-ln -s $ERL_ROOT/erts-%I_VSN%/bin/epmd epmd
+ln -s ../erts-%I_VSN%/bin/epmd epmd
cp -p $ERL_ROOT/erts-%I_VSN%/bin/run_erl .
cp -p $ERL_ROOT/erts-%I_VSN%/bin/to_erl .