summaryrefslogtreecommitdiff
path: root/perl/perl-Net-Daemon/perl-Net-Daemon.SlackBuild
diff options
context:
space:
mode:
authorcrocket <crockabiscuit@gmail.com>2011-07-12 05:14:47 -0400
committerNiels Horn <niels.horn@slackbuilds.org>2011-07-14 21:54:05 -0300
commit4973e0648d438e98c648f870fe6cf35faa48afa9 (patch)
treea913ab2c2086cd6c666a3da09ecb9b760d97e1f3 /perl/perl-Net-Daemon/perl-Net-Daemon.SlackBuild
parent8ee26037eda8e75c8c726f6bb57d30098900bb07 (diff)
downloadslackbuilds-4973e0648d438e98c648f870fe6cf35faa48afa9.tar.gz
perl/perl-Net-Daemon: Updated for version 0.48.
Signed-off-by: dsomero <xgizzmo@slackbuilds.org>
Diffstat (limited to 'perl/perl-Net-Daemon/perl-Net-Daemon.SlackBuild')
-rw-r--r--perl/perl-Net-Daemon/perl-Net-Daemon.SlackBuild14
1 files changed, 5 insertions, 9 deletions
diff --git a/perl/perl-Net-Daemon/perl-Net-Daemon.SlackBuild b/perl/perl-Net-Daemon/perl-Net-Daemon.SlackBuild
index beb92d6584..dea26c0740 100644
--- a/perl/perl-Net-Daemon/perl-Net-Daemon.SlackBuild
+++ b/perl/perl-Net-Daemon/perl-Net-Daemon.SlackBuild
@@ -2,10 +2,10 @@
# Slackware build script for perl-Net-Daemon
-# Written by crocket (crockabiscuit@yahoo.com)
+# Written by crocket (crockabiscuit@gmail.com)
PRGNAM=perl-Net-Daemon
-VERSION=${VERSION:-0.43}
+VERSION=${VERSION:-0.48}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -24,14 +24,13 @@ TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
-set -e
+set -e
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
rm -rf $SRCNAM-$VERSION
tar xvf $CWD/$SRCNAM-$VERSION.tar.gz
-mv $SRCNAM $SRCNAM-$VERSION
cd $SRCNAM-$VERSION
chown -R root:root .
find . \
@@ -40,9 +39,6 @@ find . \
\( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
-exec chmod 644 {} \;
-# remove a test file that utilizes an ancient API.
-rm t/thread.t
-
perl Makefile.PL \
PREFIX=/usr \
INSTALLDIRS=vendor \
@@ -53,8 +49,8 @@ make install DESTDIR=$PKG
find $PKG/usr/man -type f -exec gzip -9 {} \;
-find $PKG -name "perllocal.pod" -o -name ".packlist" -o -name "*.bs" | xargs rm -f || true
-find $PKG -depth -type d -empty -delete || true
+find $PKG -name "perllocal.pod" -o -name ".packlist" -o -name "*.bs" | xargs rm -f
+find $PKG -depth -type d -empty -delete
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a ChangeLog README $PKG/usr/doc/$PRGNAM-$VERSION