aboutsummaryrefslogtreecommitdiff
path: root/development/erlang-otp
diff options
context:
space:
mode:
Diffstat (limited to 'development/erlang-otp')
-rw-r--r--development/erlang-otp/doinst.sh3
-rw-r--r--development/erlang-otp/erlang-otp.SlackBuild13
-rw-r--r--development/erlang-otp/erlang-otp.info10
-rw-r--r--development/erlang-otp/slack-desc2
4 files changed, 19 insertions, 9 deletions
diff --git a/development/erlang-otp/doinst.sh b/development/erlang-otp/doinst.sh
index dc7a491370656..2024911dbfe8c 100644
--- a/development/erlang-otp/doinst.sh
+++ b/development/erlang-otp/doinst.sh
@@ -1,3 +1,2 @@
-
-chroot . sh /usr/lib/erlang/Install -minimal /usr/lib/erlang
+chroot . sh @LIBDIR@/erlang/Install -minimal @LIBDIR@/erlang 1>/dev/null 2>/dev/null
diff --git a/development/erlang-otp/erlang-otp.SlackBuild b/development/erlang-otp/erlang-otp.SlackBuild
index 634c6d3a8ee5c..1f40bd3957a07 100644
--- a/development/erlang-otp/erlang-otp.SlackBuild
+++ b/development/erlang-otp/erlang-otp.SlackBuild
@@ -17,12 +17,13 @@
# to erlang-otp, by LukenShiro <Lukenshiro@ngi.it>
PRGNAM=erlang-otp
-VERSION=13B01
+VERSION=13B03
ARCH=${ARCH:-i486}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
SRC_NAME_VERSION=otp_src_R${VERSION}
+DOC_NAME_VERSION=otp_doc_man_R${VERSION}
CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
@@ -70,9 +71,15 @@ cd $PKG/usr/bin
done
cd -
+mkdir -p $PKG/usr/lib${LIBDIRSUFFIX}/erlang
+tar xvf $CWD/$DOC_NAME_VERSION.tar.gz -C $PKG/usr/lib${LIBDIRSUFFIX}/erlang
+chown -R root:root $PKG/usr/lib${LIBDIRSUFFIX}/erlang
+chmod -R u+w,go+r-w,a-s $PKG/usr/lib${LIBDIRSUFFIX}/erlang
+
mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
-cat $CWD/doinst.sh > $PKG/install/doinst.sh
+sed "s%@LIBDIR@%/usr/lib${LIBDIRSUFFIX}%g" $CWD/doinst.sh > \
+ $PKG/install/doinst.sh
cd $PKG
-/sbin/makepkg -l y -c n -p $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.tgz
+/sbin/makepkg -l y -c n -p $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
diff --git a/development/erlang-otp/erlang-otp.info b/development/erlang-otp/erlang-otp.info
index cf57599089c84..297b276d438cd 100644
--- a/development/erlang-otp/erlang-otp.info
+++ b/development/erlang-otp/erlang-otp.info
@@ -1,8 +1,12 @@
PRGNAM="erlang-otp"
-VERSION="13B01"
+VERSION="13B03"
HOMEPAGE="http://www.erlang.org"
-DOWNLOAD="http://www.erlang.org/download/otp_src_R13B01.tar.gz"
-MD5SUM="b3db581de6c13e1ec93d74e54a7b4231"
+DOWNLOAD="http://www.erlang.org/download/otp_src_R13B03.tar.gz \
+ http://www.erlang.org/download/otp_doc_man_R13B03.tar.gz"
+MD5SUM="411fcb29f0819973f71e28f6b56d9948 \
+ 1fe80b110061ef73614824fb06d4d6eb"
+DOWNLOAD_x86_64=""
+MD5SUM_x86_64=""
MAINTAINER="Ben Mendis"
EMAIL="ben.mendis@gmail.com"
APPROVED="rworkman"
diff --git a/development/erlang-otp/slack-desc b/development/erlang-otp/slack-desc
index 133c55670758e..dc9caca98d175 100644
--- a/development/erlang-otp/slack-desc
+++ b/development/erlang-otp/slack-desc
@@ -7,7 +7,7 @@
|-----handy-ruler-------------------------------------------------------|
erlang-otp: Erlang (programming language)
-erlang-otp:
+erlang-otp:
erlang-otp: Erlang is a general-purpose concurrent programming language and
erlang-otp: runtime system.
erlang-otp: The sequential subset of Erlang is a functional language,