diff options
author | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2017-10-10 07:07:14 +0700 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2017-10-11 06:19:35 +0700 |
commit | 1d77a1624a3402cec9e335a46fff002039a5d746 (patch) | |
tree | a26b66447f46e6941bcfc56684ddf60a1b382dd4 /perl/perl-Params-Classify | |
parent | f4b8a5fcdb95c8d5ff23ff3aa0f05b08931bf57b (diff) | |
download | slackbuilds-1d77a1624a3402cec9e335a46fff002039a5d746.tar.gz |
perl/perl-Params-Classify: Updated for version 0.015.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'perl/perl-Params-Classify')
-rw-r--r-- | perl/perl-Params-Classify/perl-Params-Classify.SlackBuild | 24 | ||||
-rw-r--r-- | perl/perl-Params-Classify/perl-Params-Classify.info | 6 |
2 files changed, 15 insertions, 15 deletions
diff --git a/perl/perl-Params-Classify/perl-Params-Classify.SlackBuild b/perl/perl-Params-Classify/perl-Params-Classify.SlackBuild index 8b78a0b384..b13d7ebba6 100644 --- a/perl/perl-Params-Classify/perl-Params-Classify.SlackBuild +++ b/perl/perl-Params-Classify/perl-Params-Classify.SlackBuild @@ -26,7 +26,7 @@ # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. PRGNAM=perl-Params-Classify -VERSION=${VERSION:-0.013} +VERSION=${VERSION:-0.015} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -34,7 +34,7 @@ SRCNAM=Params-Classify if [ -z "$ARCH" ]; then case "$( uname -m )" in - i?86) ARCH=i486 ;; + i?86) ARCH=i586 ;; arm*) ARCH=arm ;; *) ARCH=$( uname -m ) ;; esac @@ -45,8 +45,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" @@ -74,14 +74,14 @@ find -L . \ \( -perm 666 -o -perm 664 -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 +perl Build.PL \ + --installdirs vendor \ + --config installvendorman1dir=/usr/man/man1 \ + --config installvendorman3dir=/usr/man/man3 +./Build +./Build test +./Build install \ + --destdir $PKG find $PKG | xargs 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-Params-Classify/perl-Params-Classify.info b/perl/perl-Params-Classify/perl-Params-Classify.info index b06c65f0e2..f14baa05de 100644 --- a/perl/perl-Params-Classify/perl-Params-Classify.info +++ b/perl/perl-Params-Classify/perl-Params-Classify.info @@ -1,8 +1,8 @@ PRGNAM="perl-Params-Classify" -VERSION="0.013" +VERSION="0.015" HOMEPAGE="https://metacpan.org/pod/Params::Classify" -DOWNLOAD="http://www.cpan.org/authors/id/Z/ZE/ZEFRAM/Params-Classify-0.013.tar.gz" -MD5SUM="63d24fbec775472ada49d16bce4a9b1f" +DOWNLOAD="http://www.cpan.org/authors/id/Z/ZE/ZEFRAM/Params-Classify-0.015.tar.gz" +MD5SUM="3c3367d759ed5bd6fe86c1f35e9b51ed" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="perl-Test-Pod perl-Test-Pod-Coverage perl-Module-Build" |