aboutsummaryrefslogtreecommitdiff
path: root/development
diff options
context:
space:
mode:
authorBen Mendis <ben.mendis@gmail.com>2010-05-13 00:24:33 +0200
committerRobby Workman <rworkman@slackbuilds.org>2010-05-13 00:24:33 +0200
commit1c6648ea2816eeca36fcc82fae5d38c3df213cc9 (patch)
treed8917a51a9f94e47811c5efecfed9ca50e5f09a2 /development
parent3c9580855c720d3e25fb067a0753c6119ea66447 (diff)
development/erlang-otp: Updated for version 13B03
Diffstat (limited to 'development')
-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 dc7a49137065..2024911dbfe8 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 634c6d3a8ee5..1f40bd3957a0 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 cf57599089c8..297b276d438c 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 133c55670758..dc9caca98d17 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,