perl/perl-extutils-pkgconfig: New maintainer + switch to i586.

Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
This commit is contained in:
Edinaldo P. Silva 2017-03-12 15:58:37 +00:00 committed by Willy Sudiarto Raharjo
parent 884b9dcaf0
commit d05ec1e0af
4 changed files with 34 additions and 17 deletions

View file

@ -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.

View file

@ -1,9 +1,12 @@
#!/bin/sh
# Slackware build script for perl-extutils-pkgconfig
#
# Slackware build script for perl-extutils-pkgconfig.
#
# (C) 2007 Michael Wagner <lapinours@web.de>
# Copyright 2010, 2012 Binh Nguyen <binhvng@gmail.com>
# Copyright 2014-2017 Glenn Becker <glenn.becker@gmail.com>
# 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

View file

@ -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"

View file

@ -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: