diff options
Diffstat (limited to 'perl/perl-PDF-API2')
-rw-r--r-- | perl/perl-PDF-API2/perl-PDF-API2.SlackBuild | 31 | ||||
-rw-r--r-- | perl/perl-PDF-API2/perl-PDF-API2.info | 10 |
2 files changed, 8 insertions, 33 deletions
diff --git a/perl/perl-PDF-API2/perl-PDF-API2.SlackBuild b/perl/perl-PDF-API2/perl-PDF-API2.SlackBuild index 4090bcdd05..a52f270182 100644 --- a/perl/perl-PDF-API2/perl-PDF-API2.SlackBuild +++ b/perl/perl-PDF-API2/perl-PDF-API2.SlackBuild @@ -2,7 +2,7 @@ # Slackware build script for perl-PDF-API2 -# Copyright 2019 M.A.Begue mab974@misouk.com +# Copyright 2019 Michel A. BEGUE mab974@misouk.com # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -25,24 +25,14 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=perl-PDF-API2 -VERSION=${VERSION:-2.045} +VERSION=${VERSION:-2.048} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} SRCNAM="$(printf $PRGNAM | cut -d- -f2-)" +ARCH=noarch -if [ -z "$ARCH" ]; then - case "$( uname -m )" in - i?86) ARCH=i586 ;; - arm*) ARCH=arm ;; - *) ARCH=$( uname -m ) ;; - esac -fi - -# If the variable PRINT_PACKAGE_NAME is set, then this script will report what -# the name of the created package would be, and then exit. This information -# could be useful to other scripts. if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE" exit 0 @@ -52,20 +42,6 @@ TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} -if [ "$ARCH" = "i586" ]; then - SLKCFLAGS="-O2 -march=i586 -mtune=i686" - LIBDIRSUFFIX="" -elif [ "$ARCH" = "i686" ]; then - SLKCFLAGS="-O2 -march=i686 -mtune=i686" - LIBDIRSUFFIX="" -elif [ "$ARCH" = "x86_64" ]; then - SLKCFLAGS="-O2 -fPIC" - LIBDIRSUFFIX="64" -else - SLKCFLAGS="-O2" - LIBDIRSUFFIX="" -fi - set -e rm -rf $PKG @@ -87,7 +63,6 @@ perl Makefile.PL \ INSTALLVENDORMAN1DIR=/usr/man/man1 \ 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 \ diff --git a/perl/perl-PDF-API2/perl-PDF-API2.info b/perl/perl-PDF-API2/perl-PDF-API2.info index 21c97f1793..e804ea2991 100644 --- a/perl/perl-PDF-API2/perl-PDF-API2.info +++ b/perl/perl-PDF-API2/perl-PDF-API2.info @@ -1,10 +1,10 @@ PRGNAM="perl-PDF-API2" -VERSION="2.045" +VERSION="2.048" HOMEPAGE="https://metacpan.org/pod/PDF::API2" -DOWNLOAD="https://cpan.metacpan.org/authors/id/S/SS/SSIMMS/PDF-API2-2.045.tar.gz" -MD5SUM="afe283ab6b1273ed0d129ec1a18cfb8a" +DOWNLOAD="https://cpan.metacpan.org/authors/id/S/SS/SSIMMS/PDF-API2-2.048.tar.gz" +MD5SUM="3b6285e34e66492f7c831a556ea15c80" DOWNLOAD_x86_64="" MD5SUM_x86_64="" -REQUIRES="perl-Font-TTF perl-Test-Exception perl-Test-Memory-Cycle" -MAINTAINER="Michel A. Begue" +REQUIRES="perl-Font-TTF" +MAINTAINER="Michel A. BEGUE" EMAIL="mab974@misouk.com" |