From d05ec1e0af5975448dc71aeb648bcaa4db192782 Mon Sep 17 00:00:00 2001 From: "Edinaldo P. Silva" Date: Sun, 12 Mar 2017 15:58:37 +0000 Subject: perl/perl-extutils-pkgconfig: New maintainer + switch to i586. Signed-off-by: David Spencer --- perl/perl-extutils-pkgconfig/README | 8 +++--- .../perl-extutils-pkgconfig.SlackBuild | 31 +++++++++++++++++----- .../perl-extutils-pkgconfig.info | 4 +-- perl/perl-extutils-pkgconfig/slack-desc | 8 +++--- 4 files changed, 34 insertions(+), 17 deletions(-) diff --git a/perl/perl-extutils-pkgconfig/README b/perl/perl-extutils-pkgconfig/README index 32fbdae16c..8f7598643b 100644 --- a/perl/perl-extutils-pkgconfig/README +++ b/perl/perl-extutils-pkgconfig/README @@ -1,6 +1,6 @@ -ExtUtils::PkgConfig (perl module) +perl-extutils-pkgconfig (perl module) -ExtUtils::PkgConfig is a very simplistic interface to pkg-config, -intended for use in the Makefile.PL of perl extensions which bind -libraries that pkg-config knows. It is really just boilerplate code +ExtUtils::PkgConfig is a very simplistic interface to pkg-config, +intended for use in the Makefile.PL of perl extensions which bind +libraries that pkg-config knows. It is really just boilerplate code that you would've written yourself. diff --git a/perl/perl-extutils-pkgconfig/perl-extutils-pkgconfig.SlackBuild b/perl/perl-extutils-pkgconfig/perl-extutils-pkgconfig.SlackBuild index c167b4f28f..90898e64d5 100644 --- a/perl/perl-extutils-pkgconfig/perl-extutils-pkgconfig.SlackBuild +++ b/perl/perl-extutils-pkgconfig/perl-extutils-pkgconfig.SlackBuild @@ -1,9 +1,12 @@ #!/bin/sh - -# Slackware build script for perl-extutils-pkgconfig - +# +# Slackware build script for perl-extutils-pkgconfig. +# # (C) 2007 Michael Wagner # Copyright 2010, 2012 Binh Nguyen +# Copyright 2014-2017 Glenn Becker +# Copyright 2017 Edinaldo P. Silva, Rio de Janeiro, Brazil. +# # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -25,14 +28,12 @@ PRGNAM=perl-extutils-pkgconfig VERSION=${VERSION:-1.15} -BUILD=${BUILD:-1} +BUILD=${BUILD:-2} TAG=${TAG:-_SBo} -SRCNAM=ExtUtils-PkgConfig - if [ -z "$ARCH" ]; then case "$( uname -m )" in - i?86) ARCH=i486 ;; + i?86) ARCH=i586 ;; arm*) ARCH=arm ;; *) ARCH=$( uname -m ) ;; esac @@ -43,6 +44,22 @@ 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 + +SRCNAM="ExtUtils-PkgConfig" + set -e rm -rf $PKG diff --git a/perl/perl-extutils-pkgconfig/perl-extutils-pkgconfig.info b/perl/perl-extutils-pkgconfig/perl-extutils-pkgconfig.info index 56ae790613..6107f19213 100644 --- a/perl/perl-extutils-pkgconfig/perl-extutils-pkgconfig.info +++ b/perl/perl-extutils-pkgconfig/perl-extutils-pkgconfig.info @@ -6,5 +6,5 @@ MD5SUM="1872e659cf2bb0b2471d75fce735e622" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="" -MAINTAINER="Glenn Becker" -EMAIL="glenn.becker@gmail.com" +MAINTAINER="Edinaldo P. Silva" +EMAIL="edps.mundognu@gmail.com" diff --git a/perl/perl-extutils-pkgconfig/slack-desc b/perl/perl-extutils-pkgconfig/slack-desc index 21ba3c5a94..83ef7f763d 100644 --- a/perl/perl-extutils-pkgconfig/slack-desc +++ b/perl/perl-extutils-pkgconfig/slack-desc @@ -8,12 +8,12 @@ |-----handy-ruler------------------------------------------------------| perl-extutils-pkgconfig: perl-extutils-pkgconfig (perl module) perl-extutils-pkgconfig: -perl-extutils-pkgconfig: ExtUtils::PkgConfig is a very simplistic interface to pkg-config, -perl-extutils-pkgconfig: intended for use in the Makefile.PL of perl extensions which bind -perl-extutils-pkgconfig: libraries that pkg-config knows. It is really just boilerplate code +perl-extutils-pkgconfig: ExtUtils::PkgConfig is a very simplistic interface to pkg-config, +perl-extutils-pkgconfig: intended for use in the Makefile.PL of perl extensions which bind +perl-extutils-pkgconfig: libraries that pkg-config knows. It is really just boilerplate code perl-extutils-pkgconfig: that you would've written yourself. perl-extutils-pkgconfig: -perl-extutils-pkgconfig: Homepage: http://search.cpan.org/dist/ExtUtils-PkgConfig/ +perl-extutils-pkgconfig: Home page: https://metacpan.org/pod/ExtUtils::PkgConfig perl-extutils-pkgconfig: perl-extutils-pkgconfig: perl-extutils-pkgconfig: -- cgit v1.2.3-65-gdbad