summaryrefslogtreecommitdiff
path: root/perl/perl-Net-Packet/perl-Net-Packet.SlackBuild
diff options
context:
space:
mode:
authorWilly Sudiarto Raharjo <willysr@slackware-id.org>2013-11-07 22:38:16 +0700
committerRobby Workman <rworkman@slackbuilds.org>2013-11-09 01:34:46 -0600
commit1b1ed210657f0c033ce63c30a99cbd5fa26a6830 (patch)
tree21c4437e1bf33ff71cc4b37a2c00eb16674cf9a2 /perl/perl-Net-Packet/perl-Net-Packet.SlackBuild
parent2178ff01682c485e6f47d4fce3f87ee0437d3223 (diff)
downloadslackbuilds-1b1ed210657f0c033ce63c30a99cbd5fa26a6830.tar.gz
perl/perl-Net-Packet: Rebuilt to fix strange character
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackware-id.org> Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
Diffstat (limited to 'perl/perl-Net-Packet/perl-Net-Packet.SlackBuild')
-rw-r--r--perl/perl-Net-Packet/perl-Net-Packet.SlackBuild21
1 files changed, 10 insertions, 11 deletions
diff --git a/perl/perl-Net-Packet/perl-Net-Packet.SlackBuild b/perl/perl-Net-Packet/perl-Net-Packet.SlackBuild
index d5f5026926..a7f5ffa3b5 100644
--- a/perl/perl-Net-Packet/perl-Net-Packet.SlackBuild
+++ b/perl/perl-Net-Packet/perl-Net-Packet.SlackBuild
@@ -24,18 +24,16 @@
PRGNAM=perl-Net-Packet
VERSION=${VERSION:-3.27}
-BUILD=${BUILD:-1}
+BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
SRC_PRGNAM=Net-Packet
DOCS="LICENSE LICENSE.Artistic README"
-# 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
@@ -68,20 +66,21 @@ rm -rf $SRC_PRGNAM-$VERSION
tar xvf $CWD/$SRC_PRGNAM-$VERSION.tar.gz
cd $SRC_PRGNAM-$VERSION
chown -R root:root .
-find . \
+find -L . \
\( -perm 777 -o -perm 775 -o -perm 711 -o -perm 555 -o -perm 511 \) \
-exec chmod 755 {} \; -o \
- \( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
- -exec chmod 644 {} \;
-
-perl Makefile.PL INSTALLDIRS=perl
+ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
+ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
+
+patch -p1 < $CWD/pod.patch
+PERL_MM_USE_DEFAULT=1 perl Makefile.PL \
+ PREFIX=/usr \
+ INSTALLDIRS=vendor \
+ INSTALLVENDORMAN3DIR=/usr/man/man3
make
make test
make install DESTDIR=$PKG
-# Move man pages
-mv $PKG/usr/share/man $PKG/usr/
-
# Compress man pages
( cd $PKG/usr/man
find . -type f -exec gzip -9 {} \;