summaryrefslogtreecommitdiffstats
path: root/development/erlang-otp/erlang-otp.SlackBuild
diff options
context:
space:
mode:
author Ben Mendis2015-01-21 13:36:25 +0100
committer Willy Sudiarto Raharjo2015-01-22 00:34:13 +0100
commit987f1de9e6a1044a76b669c4c6db1fe1135183ee (patch)
tree4168e62c7d831e44aacc4e4052947692080c2939 /development/erlang-otp/erlang-otp.SlackBuild
parentfb47b836e88a612342e1cd6976ac902ba3e41129 (diff)
downloadslackbuilds-987f1de9e6a1044a76b669c4c6db1fe1135183ee.tar.gz
development/erlang-otp: Updated for version 17.4.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'development/erlang-otp/erlang-otp.SlackBuild')
-rw-r--r--development/erlang-otp/erlang-otp.SlackBuild10
1 files changed, 7 insertions, 3 deletions
diff --git a/development/erlang-otp/erlang-otp.SlackBuild b/development/erlang-otp/erlang-otp.SlackBuild
index e19feca267..0593f2c144 100644
--- a/development/erlang-otp/erlang-otp.SlackBuild
+++ b/development/erlang-otp/erlang-otp.SlackBuild
@@ -17,12 +17,12 @@
# to erlang-otp, by LukenShiro <Lukenshiro@ngi.it>
PRGNAM=erlang-otp
-VERSION=16B02
+VERSION=${VERSION:-17.4}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
-SRC_NAME_VERSION=otp_src_R${VERSION}
-DOC_NAME_VERSION=otp_doc_man_R${VERSION}
+SRC_NAME_VERSION=otp_src_${VERSION}
+DOC_NAME_VERSION=otp_doc_man_${VERSION}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -95,6 +95,10 @@ mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
mv COPYRIGHT README $PKG/usr/doc/$PRGNAM-$VERSION )
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
+mv $PKG/usr/lib${LIBDIRSUFFIX}/erlang/man $PKG/usr
+find $PKG/usr/man -type f -exec gzip -9 {} \;
+for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done
+
mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
sed "s%@LIBDIR@%/usr/lib${LIBDIRSUFFIX}%g" $CWD/doinst.sh > \