perl/perl-Path-Class: Updated for version 0.36.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
parent
b6204cb2db
commit
9b216c674b
|
@ -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)
|
||||
|
|
|
@ -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 {} \;
|
||||
-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
|
||||
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
|
||||
|
|
|
@ -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"
|
||||
|
|
Loading…
Reference in New Issue