summaryrefslogtreecommitdiff
path: root/development/erlang-otp/erlang-otp.SlackBuild
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/erlang-otp/erlang-otp.SlackBuild
parent3c9580855c720d3e25fb067a0753c6119ea66447 (diff)
downloadslackbuilds-1c6648ea2816eeca36fcc82fae5d38c3df213cc9.tar.gz
development/erlang-otp: Updated for version 13B03
Diffstat (limited to 'development/erlang-otp/erlang-otp.SlackBuild')
-rw-r--r--development/erlang-otp/erlang-otp.SlackBuild13
1 files changed, 10 insertions, 3 deletions
diff --git a/development/erlang-otp/erlang-otp.SlackBuild b/development/erlang-otp/erlang-otp.SlackBuild
index 634c6d3a8e..1f40bd3957 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}