diff options
Diffstat (limited to 'perl')
-rw-r--r-- | perl/perl-Path-Class/README | 4 | ||||
-rw-r--r-- | perl/perl-Path-Class/perl-Path-Class.SlackBuild | 31 | ||||
-rw-r--r-- | perl/perl-Path-Class/perl-Path-Class.info | 12 |
3 files changed, 23 insertions, 24 deletions
diff --git a/perl/perl-Path-Class/README b/perl/perl-Path-Class/README index ab5fd3dbe9..457891d164 100644 --- a/perl/perl-Path-Class/README +++ b/perl/perl-Path-Class/README @@ -1,3 +1 @@ -Path::Class is a module for manipulation of file and directory specifications -(strings describing their locations, like '/home/ken/foo.txt' or -'C:Windows\Foo.txt' in a cross-platform manner. +perl-Path-Class (Cross-platform path specification manipulation) diff --git a/perl/perl-Path-Class/perl-Path-Class.SlackBuild b/perl/perl-Path-Class/perl-Path-Class.SlackBuild index 1da00f63fa..61ccfebdf8 100644 --- a/perl/perl-Path-Class/perl-Path-Class.SlackBuild +++ b/perl/perl-Path-Class/perl-Path-Class.SlackBuild @@ -2,7 +2,7 @@ # Slackware build script for perl-Path-Class -# Copyright 2013 Donald Cooley La Porte, IN USA +# Copyright 2016 Donald Cooley South Haven, Indiana USA # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -23,7 +23,7 @@ # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. PRGNAM=perl-Path-Class -VERSION=${VERSION:-0.35} +VERSION=${VERSION:-0.36} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -31,7 +31,7 @@ SRCNAM="$(printf $PRGNAM | cut -d- -f2-)" if [ -z "$ARCH" ]; then case "$( uname -m )" in - i?86) ARCH=i486 ;; + i?86) ARCH=i586 ;; arm*) ARCH=arm ;; *) ARCH=$( uname -m ) ;; esac @@ -42,8 +42,8 @@ TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} -if [ "$ARCH" = "i486" ]; then - SLKCFLAGS="-O2 -march=i486 -mtune=i686" +if [ "$ARCH" = "i586" ]; then + SLKCFLAGS="-O2 -march=i586 -mtune=i686" LIBDIRSUFFIX="" elif [ "$ARCH" = "i686" ]; then SLKCFLAGS="-O2 -march=i686 -mtune=i686" @@ -69,16 +69,17 @@ find -L . \ \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \ -o -perm 511 \) -exec chmod 755 {} \; -o \ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \ - -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; - -perl Makefile.PL \ - PREFIX=/usr \ - INSTALLDIRS=vendor \ - INSTALLVENDORMAN1DIR=/usr/man/man1 \ - INSTALLVENDORMAN3DIR=/usr/man/man3 -make -make test -make install DESTDIR=$PKG + -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; + +perl Build.PL \ +./Build --prefix /usr \ +./Build --installdirs vendor +./Build +./Build test +./Build install \ + --destdir $PKG \ + --install_path bindoc=/usr/man/man1 \ + --install_path libdoc=/usr/man/man3 find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \ | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true diff --git a/perl/perl-Path-Class/perl-Path-Class.info b/perl/perl-Path-Class/perl-Path-Class.info index 3ae848b0d1..20e2688949 100644 --- a/perl/perl-Path-Class/perl-Path-Class.info +++ b/perl/perl-Path-Class/perl-Path-Class.info @@ -1,10 +1,10 @@ PRGNAM="perl-Path-Class" -VERSION="0.35" -HOMEPAGE="https://metacpan.org/release/Path-Class" -DOWNLOAD="http://cpan.metacpan.org/authors/id/K/KW/KWILLIAMS/Path-Class-0.35.tar.gz" -MD5SUM="575b60a5c5e22e259c1df62a59fdfe85" +VERSION="0.36" +HOMEPAGE="http://search.cpan.org/dist/Path-Class/" +DOWNLOAD="http://search.cpan.org/CPAN/authors/id/K/KW/KWILLIAMS/Path-Class-0.36.tar.gz" +MD5SUM="3e15307faf0702fb916409f594552b94" DOWNLOAD_x86_64="" MD5SUM_x86_64="" -REQUIRES="" +REQUIRES="perl-Module-Build" MAINTAINER="Donald Cooley" -EMAIL="dfc@warpmail.net" +EMAIL="chytraeu@sdf.org" |