diff options
author | Heinz Wiesinger <pprkut@slackbuilds.org> | 2011-11-19 20:15:52 +0100 |
---|---|---|
committer | Robby Workman <rworkman@slackbuilds.org> | 2011-11-26 09:09:30 -0600 |
commit | c34624dd401d4f854a914aa477c08cd89f2c7ec0 (patch) | |
tree | 0f6d99ab68c9d884a7f982b594ebd77b0dea6a6e | |
parent | da6365ea18c04c80148a378e2e56be10b6d948cd (diff) |
perl/perl-libintl: Fixed to use vendor_perl instead of site_perl
Signed-off-by: Heinz Wiesinger <pprkut@slackbuilds.org>
-rw-r--r-- | perl/perl-libintl/perl-libintl.SlackBuild | 21 |
1 files changed, 7 insertions, 14 deletions
diff --git a/perl/perl-libintl/perl-libintl.SlackBuild b/perl/perl-libintl/perl-libintl.SlackBuild index 4b0d06972f919..a0c82471ac252 100644 --- a/perl/perl-libintl/perl-libintl.SlackBuild +++ b/perl/perl-libintl/perl-libintl.SlackBuild @@ -6,7 +6,7 @@ PRGNAM=perl-libintl VERSION=${VERSION:-1.16} -BUILD=${BUILD:-1} +BUILD=${BUILD:-2} TAG=${TAG:-_SBo} # Automatically determine the architecture we're building on: @@ -53,26 +53,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 {} \; -( cd $PKG/usr/man - find . -type f -exec gzip -9 {} \; - for i in $( find . -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done -) - -( cd $PKG - find . -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 COPYING.LESSER ChangeLog FAQ MANIFEST NEWS README* THANKS TODO \ |