diff options
author | Michel Begue <mab974@misouk.com> | 2025-09-01 14:57:31 +0400 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2025-09-05 21:16:15 +0700 |
commit | 178e8e128a86b52954dd3811ca0d03aa92ba7e58 (patch) | |
tree | 427c458a184e01425eeb36cec1fea77a474e6d3e /perl/perl-PDF-API2/perl-PDF-API2.SlackBuild | |
parent | 978f5e4e9c2cde462629808a0491ea166798bcd0 (diff) |
perl/perl-PDF-API2: Updated for version 2.048
Signed-off-by: Michel Begue <mab974@misouk.com>
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'perl/perl-PDF-API2/perl-PDF-API2.SlackBuild')
-rw-r--r-- | perl/perl-PDF-API2/perl-PDF-API2.SlackBuild | 31 |
1 files changed, 3 insertions, 28 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 \ |