diff options
-rw-r--r-- | perl/perl-Text-Hyphen/perl-Text-Hyphen.SlackBuild | 37 | ||||
-rw-r--r-- | perl/perl-Text-Hyphen/perl-Text-Hyphen.info | 6 |
2 files changed, 15 insertions, 28 deletions
diff --git a/perl/perl-Text-Hyphen/perl-Text-Hyphen.SlackBuild b/perl/perl-Text-Hyphen/perl-Text-Hyphen.SlackBuild index ce1f3b8b9f..0b3cdda41b 100644 --- a/perl/perl-Text-Hyphen/perl-Text-Hyphen.SlackBuild +++ b/perl/perl-Text-Hyphen/perl-Text-Hyphen.SlackBuild @@ -2,7 +2,7 @@ # Slackware build script for perl-Text-Hyphen # -# Copyright 2014 Tracy Williams <t_s_williams[at]yahoo[dot]com> +# Copyright 2015 Tracy Williams <t_s_williams[at]yahoo[dot]com> # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -23,7 +23,7 @@ # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. PRGNAM=perl-Text-Hyphen -VERSION=${VERSION:-0.11} +VERSION=${VERSION:-0.12} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -42,20 +42,6 @@ TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} -if [ "$ARCH" = "i486" ]; then - SLKCFLAGS="-O2 -march=i486 -mtune=i686" - LIBDIRSUFFIX="" -elif [ "$ARCH" = "i686" ]; then - SLKCFLAGS="-O2 -march=i686 -mtune=i686" - LIBDIRSUFFIX="" -elif [ "$ARCH" = "x86_64" ]; then - SLKCFLAGS="-O2 -fPIC" - LIBDIRSUFFIX="64" -else - SLKCFLAGS="-O2" - LIBDIRSUFFIX="" -fi - set -e rm -rf $PKG @@ -71,14 +57,15 @@ find -L . \ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; -perl Makefile.PL \ - PREFIX=/usr \ - INSTALLDIRS=vendor \ - INSTALLVENDORMAN3DIR=/usr/man/man3 - -make -make test -make install DESTDIR=$PKG +perl Build.PL \ + prefix=/usr \ + installdirs=vendor \ + destdir=$PKG +./Build +./Build test +./Build install \ + --install_path bindoc=/usr/man/man1 \ + --install_path libdoc=/usr/man/man3 find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \ | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true @@ -90,7 +77,7 @@ find $PKG -name "perllocal.pod" -o -name ".packlist" -o -name "*.bs" -empty | xa find $PKG -depth -type d -empty -delete || true mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION -cp -a Changes MANIFEST README $PKG/usr/doc/$PRGNAM-$VERSION +cp -a Changes MANIFEST README.md $PKG/usr/doc/$PRGNAM-$VERSION cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild mkdir -p $PKG/install diff --git a/perl/perl-Text-Hyphen/perl-Text-Hyphen.info b/perl/perl-Text-Hyphen/perl-Text-Hyphen.info index b716b171ea..fb5307f09e 100644 --- a/perl/perl-Text-Hyphen/perl-Text-Hyphen.info +++ b/perl/perl-Text-Hyphen/perl-Text-Hyphen.info @@ -1,8 +1,8 @@ PRGNAM="perl-Text-Hyphen" -VERSION="0.11" +VERSION="0.12" HOMEPAGE="https://metacpan.org/pod/Text::Hyphen" -DOWNLOAD="http://cpan.metacpan.org/authors/id/K/KA/KAPPA/Text-Hyphen-0.11.tar.gz" -MD5SUM="48185d553e2aa4fca6f968a7a6ab99dc" +DOWNLOAD="http://cpan.metacpan.org/authors/id/K/KA/KAPPA/Text-Hyphen-0.12.tar.gz" +MD5SUM="fb685ce74ebf09645d4f62e48eb13c6d" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="" |