diff options
author | Jeremy Hansen <jebrhansen+github@gmail.com> | 2024-08-27 20:24:08 -0700 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2024-08-30 11:54:29 +0700 |
commit | 54515510f648112cc6a9b72d737396b141295251 (patch) | |
tree | 2a0f7ff1931da5f63b77b4f5114ba3fbac44c070 /perl | |
parent | 35eef59f0df93dfa9fe53afa0f93f5f101013929 (diff) |
perl/perl-parallel-forkmanager: Version bump to 2.03 & change to noarch
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'perl')
-rw-r--r-- | perl/perl-parallel-forkmanager/perl-parallel-forkmanager.SlackBuild | 33 | ||||
-rw-r--r-- | perl/perl-parallel-forkmanager/perl-parallel-forkmanager.info | 6 |
2 files changed, 9 insertions, 30 deletions
diff --git a/perl/perl-parallel-forkmanager/perl-parallel-forkmanager.SlackBuild b/perl/perl-parallel-forkmanager/perl-parallel-forkmanager.SlackBuild index 053ea901b241..2a564208a5ee 100644 --- a/perl/perl-parallel-forkmanager/perl-parallel-forkmanager.SlackBuild +++ b/perl/perl-parallel-forkmanager/perl-parallel-forkmanager.SlackBuild @@ -2,7 +2,7 @@ # Slackware build script for perl-parallel-forkmanager -# Copyright 2018 Jeremy Hansen <jebrhansen+SBo -at- gmail.com> +# Copyright 2018-2024 Jeremy Hansen <jebrhansen+SBo@gmail.com> # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -25,22 +25,13 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=perl-parallel-forkmanager -VERSION=${VERSION:-2.02} +VERSION=${VERSION:-2.03} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} -if [ -z "$ARCH" ]; then - case "$( uname -m )" in - i?86) ARCH=i586 ;; - arm*) ARCH=arm ;; - *) ARCH=$( uname -m ) ;; - esac -fi +ARCH=noarch -# If the variable PRINT_PACKAGE_NAME is set, then this script will report what -# the name of the created package would be, and then exit. This information -# could be useful to other scripts. if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE" exit 0 @@ -50,20 +41,6 @@ TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} -if [ "$ARCH" = "i586" ]; then - SLKCFLAGS="-O2 -march=i586 -mtune=i686" - LIBDIRSUFFIX="" -elif [ "$ARCH" = "i686" ]; then - SLKCFLAGS="-O2 -march=i686 -mtune=i686" - LIBDIRSUFFIX="" -elif [ "$ARCH" = "x86_64" ]; then - SLKCFLAGS="-O2 -fPIC" - LIBDIRSUFFIX="64" -else - SLKCFLAGS="-O2" - LIBDIRSUFFIX="" -fi - set -e rm -rf $PKG @@ -99,7 +76,9 @@ find $PKG -name perllocal.pod -o -name ".packlist" -o -name "*.bs" | xargs rm -f find $PKG -depth -type d -empty -delete || true mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION -cp -a Changes CODE_OF_CONDUCT.md CONTRIBUTORS INSTALL README.mkdn $PKG/usr/doc/$PRGNAM-$VERSION +cp -a \ + Changes CONTRIBUTORS README.mkdn \ + $PKG/usr/doc/$PRGNAM-$VERSION cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild mkdir -p $PKG/install diff --git a/perl/perl-parallel-forkmanager/perl-parallel-forkmanager.info b/perl/perl-parallel-forkmanager/perl-parallel-forkmanager.info index 2cb190465f2d..de7627c8ed9a 100644 --- a/perl/perl-parallel-forkmanager/perl-parallel-forkmanager.info +++ b/perl/perl-parallel-forkmanager/perl-parallel-forkmanager.info @@ -1,8 +1,8 @@ PRGNAM="perl-parallel-forkmanager" -VERSION="2.02" +VERSION="2.03" HOMEPAGE="https://github.com/dluxhu/perl-parallel-forkmanager" -DOWNLOAD="https://github.com/dluxhu/perl-parallel-forkmanager/archive/v2.02/perl-parallel-forkmanager-2.02.tar.gz" -MD5SUM="351a3f044ddb0761eeef490c61ac0dd1" +DOWNLOAD="https://github.com/dluxhu/perl-parallel-forkmanager/archive/v2.03/perl-parallel-forkmanager-2.03.tar.gz" +MD5SUM="5411e24386384d84f9f4e2808b79a4cc" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="perl-Role-Tiny perl-test-warn" |