|
|
@ -1,8 +1,8 @@ |
|
|
|
TERMUX_PKG_HOMEPAGE=https://www.perl.org/ |
|
|
|
TERMUX_PKG_DESCRIPTION="Capable, feature-rich programming language" |
|
|
|
TERMUX_PKG_VERSION=5.26.0 |
|
|
|
TERMUX_PKG_VERSION=5.26.1 |
|
|
|
TERMUX_PKG_SHA256=e763aa485e8dc1a70483dbe6d615986bbf32b977f38016480d68c99237e701dd |
|
|
|
TERMUX_PKG_SRCURL=http://www.cpan.org/src/5.0/perl-${TERMUX_PKG_VERSION}.tar.gz |
|
|
|
TERMUX_PKG_SHA256=ebe7c66906d4fb55449380ab1b7e004eeef52c38d3443fa301f8e17a1a4cb67f |
|
|
|
TERMUX_PKG_BUILD_IN_SRC="yes" |
|
|
|
TERMUX_MAKE_PROCESSES=1 |
|
|
|
TERMUX_PKG_RM_AFTER_INSTALL="bin/perl${TERMUX_PKG_VERSION}" |
|
|
@ -10,13 +10,14 @@ 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.5 |
|
|
|
local PERLCROSS_VERSION=1.1.7 |
|
|
|
local PERLCROSS_SHA256=b79ce9d766b5f527ad7e73cb86d541da88ecbb69a443ee5f14658dd8f9e9415f |
|
|
|
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 \ |
|
|
|
0e719e75983b16c7726c2c9462f9498bb1fc4ad38c9f2513a65f3dd34e3decb3 |
|
|
|
$PERLCROSS_SHA256 |
|
|
|
fi |
|
|
|
tar xf $PERLCROSS_TAR |
|
|
|
cd perl-cross-${PERLCROSS_VERSION} |
|
|
|