mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-18 22:06:04 +01:00
perl/perl-CPANPLUS-Dist-Slackware: Updated for version 1.024.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
parent
e7d679d733
commit
c38d64fe7e
2 changed files with 9 additions and 10 deletions
|
@ -2,7 +2,7 @@
|
|||
|
||||
# Slackware build script for perl-CPANPLUS-Dist-Slackware
|
||||
|
||||
# Copyright 2012-2015 Andreas Voegele <andreas@andreasvoegele.com>
|
||||
# Copyright 2012-2016 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
|
||||
|
@ -17,7 +17,7 @@
|
|||
# OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
|
||||
|
||||
PRGNAM=perl-CPANPLUS-Dist-Slackware
|
||||
VERSION=${VERSION:-1.023}
|
||||
VERSION=${VERSION:-1.024}
|
||||
BUILD=${BUILD:-1}
|
||||
TAG=${TAG:-_SBo}
|
||||
|
||||
|
@ -25,7 +25,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
|
||||
|
@ -36,8 +36,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"
|
||||
|
@ -63,10 +63,9 @@ 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
|
||||
|
|
|
@ -1,8 +1,8 @@
|
|||
PRGNAM="perl-CPANPLUS-Dist-Slackware"
|
||||
VERSION="1.023"
|
||||
VERSION="1.024"
|
||||
HOMEPAGE="https://metacpan.org/pod/CPANPLUS::Dist::Slackware"
|
||||
DOWNLOAD="http://www.cpan.org/authors/id/V/VO/VOEGELAS/CPANPLUS-Dist-Slackware-1.023.tar.gz"
|
||||
MD5SUM="c7d84b8416072a4fa77a077c69debf9e"
|
||||
DOWNLOAD="https://cpan.metacpan.org/authors/id/V/VO/VOEGELAS/CPANPLUS-Dist-Slackware-1.024.tar.gz"
|
||||
MD5SUM="35fcb936018092444d1645b7af1dc771"
|
||||
DOWNLOAD_x86_64=""
|
||||
MD5SUM_x86_64=""
|
||||
REQUIRES="fakeroot perl-CPANPLUS perl-CPANPLUS-Dist-Build perl-Module-Pluggable"
|
||||
|
|
Loading…
Reference in a new issue