diff options
author | Eric Hameleers <alien@slackware.com> | 2022-08-30 18:41:25 +0000 |
---|---|---|
committer | Eric Hameleers <alien@slackware.com> | 2022-08-30 18:41:25 +0000 |
commit | 475becf638ecc282bf8409ee6f44711933dec5b9 (patch) | |
tree | 93c6b02ebfaa8c6e70cfbd3de3a9a935cdb1ff8d /erlang-otp | |
parent | 6dcccc87ea5acd7115ff4234436637250fe8b6ea (diff) | |
download | asb-475becf638ecc282bf8409ee6f44711933dec5b9.tar.gz asb-475becf638ecc282bf8409ee6f44711933dec5b9.tar.xz |
erlang-otp: update to 25.0.4
Diffstat (limited to 'erlang-otp')
-rwxr-xr-x | erlang-otp/build/erlang-otp.SlackBuild | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/erlang-otp/build/erlang-otp.SlackBuild b/erlang-otp/build/erlang-otp.SlackBuild index c28ca7aa..58b8980f 100755 --- a/erlang-otp/build/erlang-otp.SlackBuild +++ b/erlang-otp/build/erlang-otp.SlackBuild @@ -1,6 +1,6 @@ #!/bin/sh # $Id$ -# Copyright 2020 Eric Hameleers, Eindhoven, NL +# Copyright 2020, 2022 Eric Hameleers, Eindhoven, NL # All rights reserved. # # Permission to use, copy, modify, and distribute this software for @@ -28,11 +28,13 @@ # For: erlang-otp # Descr: programming language developed by Ericsson # URL: https://www.erlang.org/ -# Build needs: +# Build needs: openjdk11 # Needs: wxGTK3 # Changelog: # 23.0-1: 01/Jul/2020 by Eric Hameleers <alien@slackware.com> # * Initial build. +# 25.0.4-1: 30/aug/2022 by Eric Hameleers <alien@slackware.com> +# * Update. # # Run 'sh erlang-otp.SlackBuild' to build a Slackware package. # The package (.t?z) and .txt file as well as build logs are created in /tmp . @@ -41,7 +43,7 @@ # ----------------------------------------------------------------------------- PRGNAM=erlang-otp -VERSION=${VERSION:-23.0} +VERSION=${VERSION:-25.0.4} BUILD=${BUILD:-1} NUMJOBS=${NUMJOBS:-" -j$(nproc) "} TAG=${TAG:-alien} @@ -57,10 +59,10 @@ PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} SOURCE[0]="$SRCDIR/otp_src_${VERSION}.tar.gz" -SRCURL[0]="https://erlang.org/download/otp_src_${VERSION}.tar.gz" +SRCURL[0]="https://github.com/erlang/otp/releases/download/OTP-${VERSION}/otp_src_${VERSION}.tar.gz" SOURCE[1]="$SRCDIR/otp_doc_man_${VERSION}.tar.gz" -SRCURL[1]="https://www.erlang.org/download/otp_doc_man_${VERSION}.tar.gz" +SRCURL[1]="https://github.com/erlang/otp/releases/download/OTP-${VERSION}/otp_doc_man_${VERSION}.tar.gz" ## ## --- with a little luck, you won't have to edit below this point --- ## @@ -194,8 +196,6 @@ find $PKG/usr/doc -type f -exec chmod 644 {} \; # Move the man pages into the correct location and create a symlink: mv $TMP/tmp-$PRGNAM/man $PKG/usr/ ln -s ../../man $PKG/usr/lib${LIBDIRSUFFIX}/erlang/ -cp $TMP/tmp-$PRGNAM/COPYRIGHT $PKG/usr/doc/$PRGNAM-$VERSION/COPYRIGHT.man -cp $TMP/tmp-$PRGNAM/README.md $PKG/usr/doc/$PRGNAM-$VERSION/README.man.md # Compress the man page(s): if [ -d $PKG/usr/man ]; then @@ -214,9 +214,9 @@ cat $SRCDIR/slack-required > $PKG/install/slack-required # Build the package: cd $PKG -makepkg --linkadd y --chown n $OUTPUT/${PRGNAM}-${VERSION}-${ARCH}-${BUILD}${TAG}.${PKGTYPE:-tgz} 2>&1 | tee $OUTPUT/makepkg-${PRGNAM}.log +makepkg --linkadd y --chown n $OUTPUT/${PRGNAM}-${VERSION}-${ARCH}-${BUILD}${TAG}.${PKGTYPE:-txz} 2>&1 | tee $OUTPUT/makepkg-${PRGNAM}.log cd $OUTPUT -md5sum ${PRGNAM}-${VERSION}-${ARCH}-${BUILD}${TAG}.${PKGTYPE:-tgz} > ${PRGNAM}-${VERSION}-${ARCH}-${BUILD}${TAG}.${PKGTYPE:-tgz}.md5 +md5sum ${PRGNAM}-${VERSION}-${ARCH}-${BUILD}${TAG}.${PKGTYPE:-txz} > ${PRGNAM}-${VERSION}-${ARCH}-${BUILD}${TAG}.${PKGTYPE:-txz}.md5 cd - cat $PKG/install/slack-desc | grep "^${PRGNAM}" > $OUTPUT/${PRGNAM}-${VERSION}-${ARCH}-${BUILD}${TAG}.txt cat $PKG/install/slack-required > $OUTPUT/${PRGNAM}-${VERSION}-${ARCH}-${BUILD}${TAG}.dep |