diff options
Diffstat (limited to 'perl/perl-CPANPLUS-Dist-Slackware')
3 files changed, 25 insertions, 15 deletions
diff --git a/perl/perl-CPANPLUS-Dist-Slackware/README b/perl/perl-CPANPLUS-Dist-Slackware/README index 81280dbde7..0081c812d5 100644 --- a/perl/perl-CPANPLUS-Dist-Slackware/README +++ b/perl/perl-CPANPLUS-Dist-Slackware/README @@ -3,11 +3,11 @@ compatible packages from Perl distributions. You can either install the created packages using the API provided by CPANPLUS or manually with "installpkg". - $ cpanp - CPAN Terminal> i Some::Module --format=CPANPLUS::Dist::Slackware + $ cpanp + CPAN Terminal> i Some::Module --format=CPANPLUS::Dist::Slackware - $ cpan2dist --format CPANPLUS::Dist::Slackware Some::Module - $ sudo /sbin/installpkg /tmp/perl-Some-Module-1.0-i486-1_CPANPLUS.tgz + $ cpan2dist --format CPANPLUS::Dist::Slackware Some::Module + $ sudo /sbin/installpkg /tmp/perl-Some-Module-1.0-i486-1_CPANPLUS.tgz Please type "perldoc CPANPLUS::Dist::Slackware" after installation to see the module usage information. diff --git a/perl/perl-CPANPLUS-Dist-Slackware/perl-CPANPLUS-Dist-Slackware.SlackBuild b/perl/perl-CPANPLUS-Dist-Slackware/perl-CPANPLUS-Dist-Slackware.SlackBuild index 9f1b5fe4f7..1b3a04bbdd 100644 --- a/perl/perl-CPANPLUS-Dist-Slackware/perl-CPANPLUS-Dist-Slackware.SlackBuild +++ b/perl/perl-CPANPLUS-Dist-Slackware/perl-CPANPLUS-Dist-Slackware.SlackBuild @@ -1,8 +1,8 @@ -#!/bin/sh +#!/bin/bash # Slackware build script for perl-CPANPLUS-Dist-Slackware -# Copyright 2012-2018 Andreas Voegele <andreas@andreasvoegele.com> +# Copyright 2012-2020 Andreas Voegele <andreas@andreasvoegele.com> # # Permission to use, copy, modify, and distribute this software for any # purpose with or without fee is hereby granted, provided that the above @@ -16,10 +16,13 @@ # ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF # OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. +cd $(dirname $0) ; CWD=$(pwd) + PRGNAM=perl-CPANPLUS-Dist-Slackware -VERSION=${VERSION:-1.027} +VERSION=${VERSION:-1.029} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} +PKGTYPE=${PKGTYPE:-tgz} SRCNAM="$(printf $PRGNAM | cut -d- -f2-)" @@ -31,7 +34,14 @@ if [ -z "$ARCH" ]; then esac fi -CWD=$(pwd) +# 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 +fi + TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} @@ -90,4 +100,4 @@ mkdir -p $PKG/install cat $CWD/slack-desc > $PKG/install/slack-desc cd $PKG -/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz} +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE diff --git a/perl/perl-CPANPLUS-Dist-Slackware/perl-CPANPLUS-Dist-Slackware.info b/perl/perl-CPANPLUS-Dist-Slackware/perl-CPANPLUS-Dist-Slackware.info index 702d9e7017..57c38f4f98 100644 --- a/perl/perl-CPANPLUS-Dist-Slackware/perl-CPANPLUS-Dist-Slackware.info +++ b/perl/perl-CPANPLUS-Dist-Slackware/perl-CPANPLUS-Dist-Slackware.info @@ -1,10 +1,10 @@ PRGNAM="perl-CPANPLUS-Dist-Slackware" -VERSION="1.027" +VERSION="1.029" HOMEPAGE="https://metacpan.org/pod/CPANPLUS::Dist::Slackware" -DOWNLOAD="https://cpan.metacpan.org/authors/id/V/VO/VOEGELAS/CPANPLUS-Dist-Slackware-1.027.tar.gz" -MD5SUM="9b97f0202575db88f64e1162370ae380" +DOWNLOAD="https://cpan.metacpan.org/authors/id/V/VO/VOEGELAS/CPANPLUS-Dist-Slackware-1.029.tar.gz" +MD5SUM="9b9f82c2f98cf7193f22a692b71cd737" DOWNLOAD_x86_64="" MD5SUM_x86_64="" -REQUIRES="fakeroot perl-CPANPLUS perl-CPANPLUS-Dist-Build perl-Module-Pluggable" -MAINTAINER="Andreas Voegele" -EMAIL="andreas@andreasvoegele.com" +REQUIRES="fakeroot perl-CPANPLUS-Dist-Build" +MAINTAINER="Sergey Poznyakoff" +EMAIL="gray@gnu.org" |