diff options
Diffstat (limited to 'perl/perl-Module-Build')
-rw-r--r-- | perl/perl-Module-Build/README | 9 | ||||
-rw-r--r-- | perl/perl-Module-Build/perl-Module-Build.SlackBuild | 28 | ||||
-rw-r--r-- | perl/perl-Module-Build/perl-Module-Build.info | 8 |
3 files changed, 27 insertions, 18 deletions
diff --git a/perl/perl-Module-Build/README b/perl/perl-Module-Build/README index 13a3c1c7f4..c8b36ee46e 100644 --- a/perl/perl-Module-Build/README +++ b/perl/perl-Module-Build/README @@ -1,7 +1,12 @@ perl-Module-Build (Build and install Perl modules). -Module::Build is a system for building, testing, and installing Perl modules. +Module::Build is a system for building, testing, and installing Perl +modules. It is meant to be an alternative to ExtUtils::MakeMaker. -Optional dependency: perl-inc-latest. +Optional dependencies: + +perl-inc-latest (experimental, see README) +perl-PAR-Dist +perl-Archive-Zip diff --git a/perl/perl-Module-Build/perl-Module-Build.SlackBuild b/perl/perl-Module-Build/perl-Module-Build.SlackBuild index 25f9d16fd6..231f6c6ae7 100644 --- a/perl/perl-Module-Build/perl-Module-Build.SlackBuild +++ b/perl/perl-Module-Build/perl-Module-Build.SlackBuild @@ -1,8 +1,8 @@ -#!/bin/sh +#!/bin/bash # # Slackware build script for perl-Module-Build. # -# Copyright 2015-2020 Edinaldo P. Silva, Rio de Janeiro, Brazil. +# Copyright 2015-2023 Edinaldo P. Silva, Rio de Janeiro, Brazil. # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -22,22 +22,26 @@ # OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +cd $(dirname $0) ; CWD=$(pwd) + PRGNAM=perl-Module-Build -VERSION=${VERSION:-0.4231} +VERSION=${VERSION:-0.4234} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} +PKGTYPE=${PKGTYPE:-tgz} SRCNAM="$(printf $PRGNAM | cut -d- -f2-)" -if [ -z "$ARCH" ]; then - case "$( uname -m )" in - i?86) ARCH=i586 ;; - arm*) ARCH=arm ;; - *) ARCH=$( uname -m ) ;; - esac +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 fi -CWD=$(pwd) TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} @@ -96,11 +100,11 @@ 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 Changes INSTALL LICENSE README $PKG/usr/doc/$PRGNAM-$VERSION +cp Changes LICENSE README $PKG/usr/doc/$PRGNAM-$VERSION cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild 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-Module-Build/perl-Module-Build.info b/perl/perl-Module-Build/perl-Module-Build.info index 385e56fa6e..6d8375e567 100644 --- a/perl/perl-Module-Build/perl-Module-Build.info +++ b/perl/perl-Module-Build/perl-Module-Build.info @@ -1,10 +1,10 @@ PRGNAM="perl-Module-Build" -VERSION="0.4231" +VERSION="0.4234" HOMEPAGE="https://metacpan.org/pod/Module::Build" -DOWNLOAD="https://cpan.metacpan.org/authors/id/L/LE/LEONT/Module-Build-0.4231.tar.gz" -MD5SUM="066b193e461d7dfe1eca17a139353001" +DOWNLOAD="https://cpan.metacpan.org/authors/id/L/LE/LEONT/Module-Build-0.4234.tar.gz" +MD5SUM="0032d0c0bc36a3b68ef41c947829d5e3" DOWNLOAD_x86_64="" MD5SUM_x86_64="" -REQUIRES="perl-PAR-Dist" +REQUIRES="" MAINTAINER="Edinaldo P. Silva" EMAIL="edps.mundognu@gmail.com" |