aboutsummaryrefslogtreecommitdiff
path: root/perl/perl-gtk2
diff options
context:
space:
mode:
Diffstat (limited to 'perl/perl-gtk2')
-rw-r--r--perl/perl-gtk2/README4
-rw-r--r--perl/perl-gtk2/perl-gtk2.SlackBuild31
-rw-r--r--perl/perl-gtk2/perl-gtk2.info10
-rw-r--r--perl/perl-gtk2/slack-desc6
4 files changed, 26 insertions, 25 deletions
diff --git a/perl/perl-gtk2/README b/perl/perl-gtk2/README
index 89eb4805b68d8..4d7e95f75fe87 100644
--- a/perl/perl-gtk2/README
+++ b/perl/perl-gtk2/README
@@ -1,2 +1,4 @@
-Perl bindings to the 2.x series of the Gtk+ graphical user interface
+perl-gtk2 (Perl bindings for GTK2)
+
+Perl bindings to the 2.x series of the Gtk+ graphical user interface
library.
diff --git a/perl/perl-gtk2/perl-gtk2.SlackBuild b/perl/perl-gtk2/perl-gtk2.SlackBuild
index 8816466ed7682..f8dc1f28a05dd 100644
--- a/perl/perl-gtk2/perl-gtk2.SlackBuild
+++ b/perl/perl-gtk2/perl-gtk2.SlackBuild
@@ -1,11 +1,13 @@
#!/bin/sh
-
-# Slackware build script for perl-gtk2
-
+#
+# Slackware build script for perl-gtk2.
+#
# (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.
-# Copyright 2014-5 Glenn Becker <glenn.becker@gmail.com>
#
# 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-gtk2
-VERSION=${VERSION:-1.2495}
+VERSION=${VERSION:-1.24991}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
-SRCNAM=Gtk2
-
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="Gtk2"
+
set -e
rm -rf $PKG
@@ -68,10 +70,10 @@ 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" \
@@ -79,7 +81,6 @@ perl Makefile.PL \
INSTALLDIRS=vendor \
INSTALLVENDORMAN3DIR=/usr/man/man3
make
-#make test
make install DESTDIR=$PKG
find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \
@@ -87,8 +88,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-gtk2/perl-gtk2.info b/perl/perl-gtk2/perl-gtk2.info
index bf0b352f1f2d3..13865fc6d9e0e 100644
--- a/perl/perl-gtk2/perl-gtk2.info
+++ b/perl/perl-gtk2/perl-gtk2.info
@@ -1,10 +1,10 @@
PRGNAM="perl-gtk2"
-VERSION="1.2495"
+VERSION="1.24991"
HOMEPAGE="http://gtk2-perl.sourceforge.net/"
-DOWNLOAD="http://downloads.sourceforge.net/gtk2-perl/Gtk2-1.2495.tar.gz"
-MD5SUM="e3b7dd9437d5d2516d1d4bb2ae0091f1"
+DOWNLOAD="http://downloads.sourceforge.net/gtk2-perl/Gtk2-1.24991.tar.gz"
+MD5SUM="8e094fd634cf3369440da4af4b5ee054"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="perl-pango"
-MAINTAINER="Glenn Becker"
-EMAIL="glenn.becker@gmail.com"
+MAINTAINER="Edinaldo P. Silva"
+EMAIL="edps.mundognu@gmail.com"
diff --git a/perl/perl-gtk2/slack-desc b/perl/perl-gtk2/slack-desc
index 07f270b4c9d03..a232dcf822fa7 100644
--- a/perl/perl-gtk2/slack-desc
+++ b/perl/perl-gtk2/slack-desc
@@ -6,12 +6,12 @@
# customary to leave one space after the ':' except on otherwise blank lines.
|-----handy-ruler------------------------------------------------------|
-perl-gtk2: perl-gtk2 (perl module)
+perl-gtk2: perl-gtk2 (Perl bindings for GTK2)
perl-gtk2:
-perl-gtk2: Perl bindings to the 2.x series of the Gtk+ graphical user interface
+perl-gtk2: Perl bindings to the 2.x series of the Gtk+ graphical user interface
perl-gtk2: library.
perl-gtk2:
-perl-gtk2: Homepage: http://gtk2-perl.sourceforge.net/
+perl-gtk2: Home page: http://gtk2-perl.sourceforge.net/
perl-gtk2:
perl-gtk2:
perl-gtk2: