aboutsummaryrefslogtreecommitdiff
path: root/perl/perl-event
diff options
context:
space:
mode:
authorHeinz Wiesinger <pprkut@slackbuilds.org>2011-11-19 20:17:36 +0100
committerRobby Workman <rworkman@slackbuilds.org>2011-11-26 09:09:31 -0600
commitc55a8b220e1b0fc15936f47b63a85a7226ba679f (patch)
treecc7613c1660bb47b34a837eddfb54150df29e4d6 /perl/perl-event
parentc34624dd401d4f854a914aa477c08cd89f2c7ec0 (diff)
perl/perl-event: Fixed to use vendor_perl instead of site_perl
Signed-off-by: Heinz Wiesinger <pprkut@slackbuilds.org>
Diffstat (limited to 'perl/perl-event')
-rw-r--r--perl/perl-event/perl-event.SlackBuild15
1 files changed, 6 insertions, 9 deletions
diff --git a/perl/perl-event/perl-event.SlackBuild b/perl/perl-event/perl-event.SlackBuild
index 310df6453b66..7e8e0b24d8be 100644
--- a/perl/perl-event/perl-event.SlackBuild
+++ b/perl/perl-event/perl-event.SlackBuild
@@ -6,7 +6,7 @@
PRGNAM=perl-event
VERSION=${VERSION:-1.13}
-BUILD=${BUILD:-1}
+BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
if [ -z "$ARCH" ]; then
@@ -51,22 +51,19 @@ find . \
\( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
-exec chmod 644 {} \;
-perl Makefile.PL
+perl Makefile.PL \
+ INSTALLDIRS=vendor \
+ INSTALLVENDORMAN3DIR=/usr/man/man3
make
make install DESTDIR=$PKG
find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
-mv $PKG/usr/share/man $PKG/usr && rm -rf $PKG/usr/share
-
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
+find $PKG -name perllocal.pod -o -name ".packlist" -o -name "*.bs" | xargs rm -f || true
+find $PKG -depth -type d -empty -delete || true
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a ANNOUNCE ChangeLog INSTALL MANIFEST MANIFEST.SKIP README TODO \