mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-22 19:44:21 +01:00
perl/perl-Class-Method-Modifiers: Updated for version 2.10.
Signed-off-by: Erik Hanson <erik@slackbuilds.org> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
parent
ee6b5d8280
commit
7d6f70d1c5
2 changed files with 16 additions and 24 deletions
|
@ -2,7 +2,7 @@
|
|||
|
||||
# Slackware build script for perl-Class-Method-Modifiers
|
||||
|
||||
# Copyright 2013 Willy Sudiarto Raharjo <willysr@slackware-id.org>
|
||||
# Copyright 2013-2014 Willy Sudiarto Raharjo <willysr@slackbuilds.org>
|
||||
# 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-Class-Method-Modifiers
|
||||
VERSION=${VERSION:-2.09}
|
||||
VERSION=${VERSION:-2.10}
|
||||
BUILD=${BUILD:-1}
|
||||
TAG=${TAG:-_SBo}
|
||||
|
||||
|
@ -66,24 +66,18 @@ tar xvf $CWD/$SRCNAM-$VERSION.tar.gz
|
|||
cd $SRCNAM-$VERSION
|
||||
chown -R root:root .
|
||||
find -L . \
|
||||
\( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 -o -perm 511 \) \
|
||||
-exec chmod 755 {} \; -o \
|
||||
\( -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_MM_USE_DEFAULT=1 \
|
||||
PERL_MM_OPT="INSTALLDIRS=vendor DESTDIR=$PKG" \
|
||||
PERL_MB_OPT="--installdirs vendor --destdir $PKG" \
|
||||
MODULEBUILDRC=/dev/null \
|
||||
perl Build.PL \
|
||||
prefix=/usr \
|
||||
installdirs=vendor \
|
||||
destdir=$PKG
|
||||
./Build
|
||||
./Build test
|
||||
./Build install \
|
||||
--install_path bindoc=/usr/man/man1 \
|
||||
--install_path libdoc=/usr/man/man3
|
||||
perl Makefile.PL \
|
||||
PREFIX=/usr \
|
||||
INSTALLDIRS=vendor \
|
||||
INSTALLVENDORMAN3DIR=/usr/man/man3
|
||||
make
|
||||
make test
|
||||
make install DESTDIR=$PKG
|
||||
|
||||
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
|
||||
|
@ -96,9 +90,7 @@ 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 -a \
|
||||
Changes INSTALL LICENSE README \
|
||||
$PKG/usr/doc/$PRGNAM-$VERSION
|
||||
cp -a Changes INSTALL LICENSE README $PKG/usr/doc/$PRGNAM-$VERSION
|
||||
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
|
||||
|
||||
mkdir -p $PKG/install
|
||||
|
|
|
@ -1,8 +1,8 @@
|
|||
PRGNAM="perl-Class-Method-Modifiers"
|
||||
VERSION="2.09"
|
||||
HOMEPAGE="http://search.cpan.org/~ether/Class-Method-Modifiers-2.09/"
|
||||
DOWNLOAD="http://search.cpan.org/CPAN/authors/id/E/ET/ETHER/Class-Method-Modifiers-2.09.tar.gz"
|
||||
MD5SUM="5adc748acd8670b71ceaf73d48446dcf"
|
||||
VERSION="2.10"
|
||||
HOMEPAGE="http://search.cpan.org/~ether/Class-Method-Modifiers-2.10/"
|
||||
DOWNLOAD="http://search.cpan.org/CPAN/authors/id/E/ET/ETHER/Class-Method-Modifiers-2.10.tar.gz"
|
||||
MD5SUM="bd56ab860d1a24e6d9c7e87e36e2b09c"
|
||||
DOWNLOAD_x86_64=""
|
||||
MD5SUM_x86_64=""
|
||||
REQUIRES="perl-Module-Build-Tiny perl-Test-Fatal"
|
||||
|
|
Loading…
Reference in a new issue