aboutsummaryrefslogtreecommitdiff
path: root/development/erlang-otp/erlang-otp.SlackBuild
diff options
context:
space:
mode:
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 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 > \