summaryrefslogtreecommitdiff
path: root/perl
diff options
context:
space:
mode:
Diffstat (limited to 'perl')
-rw-r--r--perl/perl-Config-IniFiles/README2
-rw-r--r--perl/perl-Config-IniFiles/perl-Config-IniFiles.SlackBuild28
-rw-r--r--perl/perl-Config-IniFiles/perl-Config-IniFiles.info8
-rw-r--r--perl/perl-Config-IniFiles/slack-desc4
4 files changed, 21 insertions, 21 deletions
diff --git a/perl/perl-Config-IniFiles/README b/perl/perl-Config-IniFiles/README
index e30e0f79a6..3aa7d08e3c 100644
--- a/perl/perl-Config-IniFiles/README
+++ b/perl/perl-Config-IniFiles/README
@@ -1 +1,3 @@
perl-Config-IniFiles perl module for reading .ini-style configuration files.
+
+perl-Config-IniFiles package is required for policyd v2 (cluebringer).
diff --git a/perl/perl-Config-IniFiles/perl-Config-IniFiles.SlackBuild b/perl/perl-Config-IniFiles/perl-Config-IniFiles.SlackBuild
index c6d1868d45..9b2f7afba0 100644
--- a/perl/perl-Config-IniFiles/perl-Config-IniFiles.SlackBuild
+++ b/perl/perl-Config-IniFiles/perl-Config-IniFiles.SlackBuild
@@ -5,13 +5,13 @@
# Copyright (c) 2008-2011, Nishant Limbachia, Hoffman Estates, IL, USA <nishant _AT_ mnspace _DOT_ net>
# All rights reserved.
-#
+
# Redistribution and use of this script, with or without modification, is
# permitted provided that the following conditions are met:
-#
+
# 1. Redistributions of script must retain the above copyright notice,
# this list of conditions and the following disclaimer.
-#
+
# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
# "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
# LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
@@ -24,19 +24,16 @@
# NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
# SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-PRGNAM=perl-Config-IniFiles
-VERSION=${VERSION:-2.66}
+SRCNAM=Config-IniFiles
+PRGNAM=perl-$SRCNAM
+VERSION=${VERSION:-2.68}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
-SRCNAM=Config-IniFiles
-
-# Automatically determine the architecture we're building on:
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
i?86) ARCH=i486 ;;
arm*) ARCH=arm ;;
- # Unless $ARCH is already set, use uname -m for all other archs:
*) ARCH=$( uname -m ) ;;
esac
fi
@@ -71,21 +68,22 @@ find . \
-exec chmod 644 {} \;
CFLAGS="$SLKCFLAGS" \
-perl Makefile.PL \
- PREFIX=/usr \
- INSTALLDIRS=vendor \
- INSTALLVENDORMAN3DIR=/usr/man/man3
-
+perl Makefile.PL INSTALLDIRS=vendor INSTALLVENDORMAN3DIR=/usr/man/man3
make
make install DESTDIR=$PKG
+### putting essential docs
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a $DOCS $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
+find $PKG -name "perllocal.pod" -o -name ".packlist" -o -name "*.bs" | xargs rm -f
+
+# find and compress man pages
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
-find $PKG -name "perllocal.pod" -o -name ".packlist" -o -name "*.bs" | xargs rm -f
+# Remove empty directories
find $PKG -depth -type d -empty -exec rm -rf {} \;
mkdir -p $PKG/install
diff --git a/perl/perl-Config-IniFiles/perl-Config-IniFiles.info b/perl/perl-Config-IniFiles/perl-Config-IniFiles.info
index a3abd51eb3..421cccad89 100644
--- a/perl/perl-Config-IniFiles/perl-Config-IniFiles.info
+++ b/perl/perl-Config-IniFiles/perl-Config-IniFiles.info
@@ -1,10 +1,10 @@
PRGNAM="perl-Config-IniFiles"
-VERSION="2.66"
+VERSION="2.68"
HOMEPAGE="http://search.cpan.org/dist/Config-IniFiles/"
-DOWNLOAD="http://search.cpan.org/CPAN/authors/id/S/SH/SHLOMIF/Config-IniFiles-2.66.tar.gz"
-MD5SUM="b03be17e0e2b4257f97808384ebdbeb9"
+DOWNLOAD="http://search.cpan.org/CPAN/authors/id/S/SH/SHLOMIF/Config-IniFiles-2.68.tar.gz"
+MD5SUM="c860f04b2d7d3cb0cc462ed896112c62"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
MAINTAINER="Nishant Limbachia"
EMAIL="nishant@mnspace.net"
-APPROVED="rworkman"
+APPROVED="Erik Hanson"
diff --git a/perl/perl-Config-IniFiles/slack-desc b/perl/perl-Config-IniFiles/slack-desc
index 187eed25ee..7ee53eb900 100644
--- a/perl/perl-Config-IniFiles/slack-desc
+++ b/perl/perl-Config-IniFiles/slack-desc
@@ -8,12 +8,12 @@
|-----handy-ruler------------------------------------------------------|
perl-Config-IniFiles: perl-Config-IniFiles (Config::IniFiles)
perl-Config-IniFiles:
+perl-Config-IniFiles:
perl-Config-IniFiles: perl-Config-IniFiles perl module to read .ini-style
perl-Config-IniFiles: configuration files.
perl-Config-IniFiles:
-perl-Config-IniFiles: Homepage: http://search.cpan.org/dist/Config-IniFiles/
-perl-Config-IniFiles:
perl-Config-IniFiles:
+perl-Config-IniFiles: Homepage: http://search.cpan.org/dist/Config-IniFiles/
perl-Config-IniFiles:
perl-Config-IniFiles:
perl-Config-IniFiles: