Browse Source

perl: Update from 5.22.0 to 5.22.1

android-5
Fredrik Fornwall 9 years ago
parent
commit
704e64f22c
  1. 6
      packages/perl/build.sh

6
packages/perl/build.sh

@ -3,7 +3,7 @@ TERMUX_PKG_HOMEPAGE=http://www.perl.org/
TERMUX_PKG_DESCRIPTION="Capable, feature-rich programming language"
# cpan modules will require make:
TERMUX_PKG_DEPENDS="make"
TERMUX_PKG_VERSION=5.22.0
TERMUX_PKG_VERSION=5.22.1
TERMUX_PKG_SRCURL=http://www.cpan.org/src/5.0/perl-${TERMUX_PKG_VERSION}.tar.gz
# Does not work with parallell builds:
TERMUX_MAKE_PROCESSES=1
@ -11,10 +11,10 @@ TERMUX_PKG_RM_AFTER_INSTALL="bin/perl${TERMUX_PKG_VERSION}"
TERMUX_PKG_BUILD_IN_SRC="yes"
termux_step_post_extract_package () {
PERLCROSS_VERSION=1.0.0
PERLCROSS_VERSION=1.0.2
PERLCROSS_FILE=perl-${TERMUX_PKG_VERSION}-cross-${PERLCROSS_VERSION}.tar.gz
PERLCROSS_TAR=$TERMUX_PKG_CACHEDIR/$PERLCROSS_FILE
test ! -f $PERLCROSS_TAR && curl -L https://raw.github.com/arsv/perl-cross/releases/$PERLCROSS_FILE > $PERLCROSS_TAR
test ! -f $PERLCROSS_TAR && curl -o $PERLCROSS_TAR -L https://github.com/arsv/perl-cross/releases/download/$PERLCROSS_VERSION/$PERLCROSS_FILE
cd $TERMUX_PKG_SRCDIR
tar xf $PERLCROSS_TAR
cd perl-${TERMUX_PKG_VERSION}

Loading…
Cancel
Save