perl: Update from 5.24.1 to 5.26.0

This commit is contained in:
Fredrik Fornwall 2017-06-12 02:55:48 +02:00
parent a612606bce
commit ecff2cea84
1 changed files with 5 additions and 7 deletions

View File

@ -1,9 +1,8 @@
TERMUX_PKG_HOMEPAGE=https://www.perl.org/
TERMUX_PKG_DESCRIPTION="Capable, feature-rich programming language"
TERMUX_PKG_VERSION=5.24.1
TERMUX_PKG_REVISION=2
TERMUX_PKG_VERSION=5.26.0
TERMUX_PKG_SRCURL=http://www.cpan.org/src/5.0/perl-${TERMUX_PKG_VERSION}.tar.gz
TERMUX_PKG_SHA256=e6c185c9b09bdb3f1b13f678999050c639859a7ef39c8cad418448075f5918af
TERMUX_PKG_SHA256=ebe7c66906d4fb55449380ab1b7e004eeef52c38d3443fa301f8e17a1a4cb67f
TERMUX_PKG_BUILD_IN_SRC="yes"
TERMUX_MAKE_PROCESSES=1
TERMUX_PKG_RM_AFTER_INSTALL="bin/perl${TERMUX_PKG_VERSION}"
@ -11,13 +10,13 @@ TERMUX_PKG_NO_DEVELSPLIT=yes
termux_step_post_extract_package () {
# This port uses perl-cross: http://arsv.github.io/perl-cross/
local PERLCROSS_VERSION=1.1.4
local PERLCROSS_VERSION=1.1.5
local PERLCROSS_FILE=perl-cross-${PERLCROSS_VERSION}.tar.gz
local PERLCROSS_TAR=$TERMUX_PKG_CACHEDIR/$PERLCROSS_FILE
if [ ! -f $PERLCROSS_TAR ]; then
termux_download https://github.com/arsv/perl-cross/releases/download/$PERLCROSS_VERSION/$PERLCROSS_FILE \
$PERLCROSS_TAR \
c840a327d5464ca271cac40d52e2d199330875527bf1003c28a6e550fb7bcc57
0e719e75983b16c7726c2c9462f9498bb1fc4ad38c9f2513a65f3dd34e3decb3
fi
tar xf $PERLCROSS_TAR
cd perl-cross-${PERLCROSS_VERSION}
@ -64,9 +63,8 @@ termux_step_configure () {
termux_step_post_make_install () {
# Replace hardlinks with symlinks:
cd $TERMUX_PREFIX/share/man/man1
rm {perlbug.1,c2ph.1}
rm perlbug.1
ln -s perlthanks.1 perlbug.1
ln -s pstruct.1 c2ph.1
# Cleanup:
rm $TERMUX_PREFIX/bin/sh