aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBen Mendis <ben.mendis@gmail.com>2015-01-21 19:36:25 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2015-01-22 06:34:13 +0700
commit987f1de9e6a1044a76b669c4c6db1fe1135183ee (patch)
tree4168e62c7d831e44aacc4e4052947692080c2939
parentfb47b836e88a612342e1cd6976ac902ba3e41129 (diff)
development/erlang-otp: Updated for version 17.4.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
-rw-r--r--development/erlang-otp/erlang-otp.SlackBuild10
-rw-r--r--development/erlang-otp/erlang-otp.info10
2 files changed, 12 insertions, 8 deletions
diff --git a/development/erlang-otp/erlang-otp.SlackBuild b/development/erlang-otp/erlang-otp.SlackBuild
index e19feca2674da..0593f2c1441f6 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 > \
diff --git a/development/erlang-otp/erlang-otp.info b/development/erlang-otp/erlang-otp.info
index 3025e951b67ed..b78f9317ad430 100644
--- a/development/erlang-otp/erlang-otp.info
+++ b/development/erlang-otp/erlang-otp.info
@@ -1,10 +1,10 @@
PRGNAM="erlang-otp"
-VERSION="16B02"
+VERSION="17.4"
HOMEPAGE="http://www.erlang.org"
-DOWNLOAD="http://www.erlang.org/download/otp_src_R16B02.tar.gz \
- http://www.erlang.org/download/otp_doc_man_R16B02.tar.gz"
-MD5SUM="ca63bcde0e5ae0f2df9457f97b3115a4 \
- fe3ff42375090d33ce1ba98c28218cf3"
+DOWNLOAD="http://www.erlang.org/download/otp_src_17.4.tar.gz \
+ http://www.erlang.org/download/otp_doc_man_17.4.tar.gz"
+MD5SUM="3d33c4c6bd7950240dcd7479edd9c7d8 \
+ 9dfbf1d6b4a33f276fc75fc7d8c1cd93"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="jdk"