summaryrefslogtreecommitdiff
path: root/perl
diff options
context:
space:
mode:
authorWilly Sudiarto Raharjo <willysr@slackbuilds.org>2016-03-04 05:43:16 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2016-03-04 05:43:16 +0700
commit307848a2756376daccab7667af4524b28a875a30 (patch)
treedcf47a13920b7ca9fa8f8ebf9892103eca19fe5a /perl
parentcf69fcb30740fafc6c9915b689e3f61a4dc79ed9 (diff)
downloadslackbuilds-307848a2756376daccab7667af4524b28a875a30.tar.gz
perl/perl-Socket6: Updated for version 0.25.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'perl')
-rw-r--r--perl/perl-Socket6/perl-Socket6.SlackBuild28
-rw-r--r--perl/perl-Socket6/perl-Socket6.info6
2 files changed, 16 insertions, 18 deletions
diff --git a/perl/perl-Socket6/perl-Socket6.SlackBuild b/perl/perl-Socket6/perl-Socket6.SlackBuild
index 3558121804..eb5ece8fb7 100644
--- a/perl/perl-Socket6/perl-Socket6.SlackBuild
+++ b/perl/perl-Socket6/perl-Socket6.SlackBuild
@@ -23,7 +23,7 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=perl-Socket6
-VERSION=${VERSION:-0.23}
+VERSION=${VERSION:-0.25}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -67,28 +67,26 @@ tar xvf $CWD/$SRC_PRGNAM-$VERSION.tar.gz
cd $SRC_PRGNAM-$VERSION
chown -R root:root .
find -L . \
- \( -perm 777 -o -perm 775 -o -perm 750 -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 {} \;
+ \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
+ -o -perm 511 \) -exec chmod 755 {} \; -o \
+ \( -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 INSTALLDIRS=perl
+perl Makefile.PL \
+ PREFIX=/usr \
+ INSTALLDIRS=vendor \
+ INSTALLVENDORMAN1DIR=/usr/man/man1 \
+ INSTALLVENDORMAN3DIR=/usr/man/man3
make
make test
make install DESTDIR=$PKG
-# Remove perllocal.pod and other special files that don't need to be installed
-( cd $PKG
- # Remove 'special' files
- find . -name perllocal.pod \
- -o -name ".packlist" \
- -o -name "*.bs" \
- | xargs rm -f
-)
-
# Remove empty directories
find $PKG -depth -type d -empty -delete
+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
+
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a $DOCS $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
diff --git a/perl/perl-Socket6/perl-Socket6.info b/perl/perl-Socket6/perl-Socket6.info
index dafa181c22..485d602f43 100644
--- a/perl/perl-Socket6/perl-Socket6.info
+++ b/perl/perl-Socket6/perl-Socket6.info
@@ -1,8 +1,8 @@
PRGNAM="perl-Socket6"
-VERSION="0.23"
+VERSION="0.25"
HOMEPAGE="https://metacpan.org/pod/Socket6"
-DOWNLOAD="http://www.cpan.org/authors/id/U/UM/UMEMOTO/Socket6-0.23.tar.gz"
-MD5SUM="2c02adb13c449d48d232bb704ddbd492"
+DOWNLOAD="http://www.cpan.org/authors/id/U/UM/UMEMOTO/Socket6-0.25.tar.gz"
+MD5SUM="e6c40d662b1fc5ffd436b7f50daa1f04"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""