diff options
author | Edinaldo P. Silva <edps.mundognu@gmail.com> | 2017-03-12 10:34:58 +0000 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2017-03-18 06:58:15 +0700 |
commit | 03b32fed86a0000ebb2b8296c2d60cece9f0126c (patch) | |
tree | 9a30aec0190707665cadf8d4e1e9132db6fb836c /perl/perl-cairo | |
parent | 6ed12e7d4253bc2d0db844b497a70c2b87f80b9b (diff) |
perl/perl-cairo: Updated for version 1.106 + new maintainer.
Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
Diffstat (limited to 'perl/perl-cairo')
-rw-r--r-- | perl/perl-cairo/README | 2 | ||||
-rw-r--r-- | perl/perl-cairo/perl-cairo.SlackBuild | 31 | ||||
-rw-r--r-- | perl/perl-cairo/perl-cairo.info | 10 | ||||
-rw-r--r-- | perl/perl-cairo/slack-desc | 6 |
4 files changed, 24 insertions, 25 deletions
diff --git a/perl/perl-cairo/README b/perl/perl-cairo/README index dd05ff4e8a2c9..86b65473eaa62 100644 --- a/perl/perl-cairo/README +++ b/perl/perl-cairo/README @@ -1,3 +1,3 @@ Cairo (perl module) -Perl bindings to the cairo graphics library. +Perl bindings to the cairo graphics library. diff --git a/perl/perl-cairo/perl-cairo.SlackBuild b/perl/perl-cairo/perl-cairo.SlackBuild index 8c0c9c1cfdeaf..cbc99c9e838ed 100644 --- a/perl/perl-cairo/perl-cairo.SlackBuild +++ b/perl/perl-cairo/perl-cairo.SlackBuild @@ -1,11 +1,13 @@ #!/bin/sh - -# Slackware build script for perl-cairo - +# +# Slackware build script for perl-cairo. +# # (C) 2007 Michael Wagner <lapinours@web.de> # Copyright 2010, 2012 Binh Nguyen <binhvng@gmail.com> +# Adopted 2014-2017 Glenn Becker <burningc@sdf.org> +# Copyright 2017 Edinaldo P. Silva, Rio de Janeiro, Brazil. +# # All rights reserved. -# Adopted 2014 Glenn Becker <burningc@sdf.org> # # Redistribution and use of this script, with or without modification, is # permitted provided that the following conditions are met: @@ -25,15 +27,13 @@ # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. PRGNAM=perl-cairo -VERSION=${VERSION:-1.105} +VERSION=${VERSION:-1.106} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} -SRCNAM=Cairo - if [ -z "$ARCH" ]; then case "$( uname -m )" in - i?86) ARCH=i486 ;; + i?86) ARCH=i586 ;; arm*) ARCH=arm ;; *) ARCH=$( uname -m ) ;; esac @@ -44,8 +44,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" @@ -58,6 +58,8 @@ else LIBDIRSUFFIX="" fi +SRCNAM="Cairo" + set -e rm -rf $PKG @@ -68,17 +70,16 @@ tar xvf $CWD/$SRCNAM-$VERSION.tar.gz cd $SRCNAM-$VERSION chown -R root:root . find -L . \ - \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 -o -perm 511 \) \ - -exec chmod 755 {} \; -o \ + \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \ + -o -perm 511 \) -exec chmod 755 {} \; -o \ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \ - -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; + -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; perl Makefile.PL \ OPTIMIZE="$SLKCFLAGS" \ PREFIX=/usr \ INSTALLDIRS=vendor \ INSTALLVENDORMAN3DIR=/usr/man/man3 - make make test make install DESTDIR=$PKG @@ -88,8 +89,6 @@ find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \ find $PKG/usr/man -type f -exec gzip -9 {} \; -# Remove perllocal.pod and other special files that don't need to be installed, -# as they will overwrite what's already on the system find $PKG -name perllocal.pod -o -name ".packlist" -o -name "*.bs" | xargs rm -f || true # Remove empty directories diff --git a/perl/perl-cairo/perl-cairo.info b/perl/perl-cairo/perl-cairo.info index 099879e1df0be..0083b8ccbd6c3 100644 --- a/perl/perl-cairo/perl-cairo.info +++ b/perl/perl-cairo/perl-cairo.info @@ -1,10 +1,10 @@ PRGNAM="perl-cairo" -VERSION="1.105" +VERSION="1.106" HOMEPAGE="https://metacpan.org/pod/Cairo" -DOWNLOAD="http://www.cpan.org/authors/id/X/XA/XAOC/Cairo-1.105.tar.gz" -MD5SUM="a9ace46142f5bab645d3d1b99d05d9d5" +DOWNLOAD="http://www.cpan.org/authors/id/X/XA/XAOC/Cairo-1.106.tar.gz" +MD5SUM="47ca0ae0f5b9bc4c16a27627ff48bd8b" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="perl-extutils-depends perl-extutils-pkgconfig" -MAINTAINER="Glenn Becker" -EMAIL="glenn.becker@gmail.com" +MAINTAINER="Edinaldo P. Silva" +EMAIL="edps.mundognu@gmail.com" diff --git a/perl/perl-cairo/slack-desc b/perl/perl-cairo/slack-desc index c13180fe87bac..056f8f4804c24 100644 --- a/perl/perl-cairo/slack-desc +++ b/perl/perl-cairo/slack-desc @@ -6,11 +6,11 @@ # customary to leave one space after the ':' except on otherwise blank lines. |-----handy-ruler------------------------------------------------------| -perl-cairo: perl-cairo (perl module) +perl-cairo: perl-cairo (perl bindings for Cairo) perl-cairo: -perl-cairo: Perl bindings to the cairo graphics library. +perl-cairo: Perl bindings to the Cairo graphics library. perl-cairo: -perl-cairo: Homepage: http://search.cpan.org/dist/Cairo/ +perl-cairo: Home page: http://search.cpan.org/dist/Cairo perl-cairo: perl-cairo: perl-cairo: |