perl/perl-gnome2-vfs: New maintainer + switch to i586.

Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
This commit is contained in:
Edinaldo P. Silva 2017-03-12 16:25:15 +00:00 committed by Willy Sudiarto Raharjo
parent 1a0401d647
commit 9010147307
4 changed files with 22 additions and 21 deletions

View file

@ -1 +1,3 @@
Perl bindings for gnome-vfs. perl-gnome2-vfs (interface to the 2.x series of the GNOME VFS library)
Gnome2::VFS - Perl bindings for GNOME VFS library.

View file

@ -1,11 +1,12 @@
#!/bin/sh #!/bin/sh
# Slackware build script for perl-gnome2-vfs
# Copyright 2010 Binh Nguyen <binhvng@gmail.com>
# All rights reserved.
# #
# Adopted by Glenn Becker <burningc@sdf.org> # Slackware build script for perl-gnome2-vfs.
#
# Copyright 2010 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 # Redistribution and use of this script, with or without modification, is
# permitted provided that the following conditions are met: # permitted provided that the following conditions are met:
@ -26,14 +27,12 @@
PRGNAM=perl-gnome2-vfs PRGNAM=perl-gnome2-vfs
VERSION=${VERSION:-1.082} VERSION=${VERSION:-1.082}
BUILD=${BUILD:-1} BUILD=${BUILD:-2}
TAG=${TAG:-_SBo} TAG=${TAG:-_SBo}
SRCNAM=Gnome2-VFS
if [ -z "$ARCH" ]; then if [ -z "$ARCH" ]; then
case "$( uname -m )" in case "$( uname -m )" in
i?86) ARCH=i486 ;; i?86) ARCH=i586 ;;
arm*) ARCH=arm ;; arm*) ARCH=arm ;;
*) ARCH=$( uname -m ) ;; *) ARCH=$( uname -m ) ;;
esac esac
@ -44,8 +43,8 @@ TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp} OUTPUT=${OUTPUT:-/tmp}
if [ "$ARCH" = "i486" ]; then if [ "$ARCH" = "i586" ]; then
SLKCFLAGS="-O2 -march=i486 -mtune=i686" SLKCFLAGS="-O2 -march=i586 -mtune=i686"
LIBDIRSUFFIX="" LIBDIRSUFFIX=""
elif [ "$ARCH" = "i686" ]; then elif [ "$ARCH" = "i686" ]; then
SLKCFLAGS="-O2 -march=i686 -mtune=i686" SLKCFLAGS="-O2 -march=i686 -mtune=i686"
@ -58,7 +57,9 @@ else
LIBDIRSUFFIX="" LIBDIRSUFFIX=""
fi fi
set -eu SRCNAM="Gnome2-VFS"
set -e
rm -rf $PKG rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT mkdir -p $TMP $PKG $OUTPUT
@ -88,8 +89,6 @@ find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | gr
find $PKG/usr/man -type f -exec gzip -9 {} \; find $PKG/usr/man -type f -exec gzip -9 {} \;
for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done
# 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 find $PKG -name perllocal.pod -o -name ".packlist" -o -name "*.bs" | xargs rm -f || true
# Remove empty directories # Remove empty directories

View file

@ -6,5 +6,5 @@ MD5SUM="374e7d611d080d893bb3da9d40c64733"
DOWNLOAD_x86_64="" DOWNLOAD_x86_64=""
MD5SUM_x86_64="" MD5SUM_x86_64=""
REQUIRES="gnome-vfs perl-glib" REQUIRES="gnome-vfs perl-glib"
MAINTAINER="Glenn Becker" MAINTAINER="Edinaldo P. Silva"
EMAIL="glenn.becker@gmail.com" EMAIL="edps.mundognu@gmail.com"

View file

@ -6,11 +6,11 @@
# customary to leave one space after the ':' except on otherwise blank lines. # customary to leave one space after the ':' except on otherwise blank lines.
|-----handy-ruler------------------------------------------------------| |-----handy-ruler------------------------------------------------------|
perl-gnome2-vfs: perl-gnome2-vfs (perl module) perl-gnome2-vfs: perl-gnome2-vfs (interface to the 2.x series of the GNOME VFS library)
perl-gnome2-vfs: perl-gnome2-vfs:
perl-gnome2-vfs: Perl bindings for gnome-vfs. perl-gnome2-vfs: Gnome2::VFS - Perl bindings for GNOME VFS library.
perl-gnome2-vfs: perl-gnome2-vfs:
perl-gnome2-vfs: Homepage: http://search.cpan.org/dist/Gnome2-VFS/ perl-gnome2-vfs: Homepage: https://metacpan.org/pod/Gnome2::VFS
perl-gnome2-vfs: perl-gnome2-vfs:
perl-gnome2-vfs: perl-gnome2-vfs:
perl-gnome2-vfs: perl-gnome2-vfs: