wok-next diff perl/receipt @ rev 20946
Random updates
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Fri Aug 31 10:21:22 2018 +0300 (2018-08-31) |
parents | 95b113aec737 |
children | d5aab818505e |
line diff
1.1 --- a/perl/receipt Wed Jun 13 11:01:07 2018 +0300 1.2 +++ b/perl/receipt Fri Aug 31 10:21:22 2018 +0300 1.3 @@ -1,7 +1,7 @@ 1.4 # SliTaz package receipt v2. 1.5 1.6 PACKAGE="perl" 1.7 -VERSION="5.26.2" 1.8 +VERSION="5.28.0" 1.9 CATEGORY="development" 1.10 SHORT_DESC="Perl interpreter and modules" 1.11 MAINTAINER="pankso@slitaz.org" 1.12 @@ -16,62 +16,28 @@ 1.13 # etc., you need to update ALL the Perl related packages on ANY change 1.14 # of the Perl version! 1.15 1.16 -TARBALL="$PACKAGE-$VERSION.tar.bz2" 1.17 +TARBALL="$PACKAGE-$VERSION.tar.xz" 1.18 WGET_URL="http://www.cpan.org/src/5.0/$TARBALL" 1.19 # Integrity check: http://www.cpan.org/src/5.0/ 1.20 -TARBALL_SHA256="3f6a6b5bbd43016e5211e24b6631ea84216dd300216a2293b41c9195032f3e81" 1.21 +TARBALL_SHA256="059b3cb69970d8c8c5964caced0335b4af34ac990c8e61f7e3f90cd1c2d11e49" 1.22 1.23 COOKOPTS="!perlz" 1.24 BUILD_DEPENDS="zlib-dev bzip2-dev less gdbm-dev" 1.25 -#SPLIT="perl-core perl perl-dev microperl:micro" 1.26 SPLIT="perl-core perl perl-dev" 1.27 -# microperl: waiting for 5.26.2: https://rt.perl.org/Public/Bug/Display.html?id=132255 1.28 -# sv.c:(.text+0x1aa95): undefined reference to `Perl_fp_class_denorm' 1.29 - 1.30 -# Rules to compile & install the temporary toolchain. 1.31 -cook_tmp_toolchain() { 1.32 - cd $src 1.33 - sh Configure -des \ 1.34 - -Dprefix=/tools \ 1.35 - -Dstatic_ext='Data/Dumper Fcntl IO' && 1.36 - 1.37 - # Only few tools are needed in the tmp toolchain. 1.38 - make perl utilities ext/Errno/pm_to_blib || return 1 1.39 - 1.40 - cp perl pod/pod2man /tools/bin 1.41 - mkdir -p /tools/lib/perl5/$VERSION 1.42 - cp -R lib/* /tools/lib/perl5/$VERSION 1.43 -} 1.44 1.45 compile_rules() { 1.46 - case $SET in 1.47 - micro) 1.48 - patch -p1 -i $stuff/microperl.patch 1.49 - sed -i.orig "s|usr/local|usr|; 1.50 - s|perl5/${VERSION%.*}|perl5/$VERSION|; 1.51 - s|unknown|$HOST_SYSTEM|" uconfig.sh uconfig64.sh 1.52 - 1.53 - case $ARCH in 1.54 - x86_64) make -f Makefile.micro regen_uconfig64;; 1.55 - *) make -f Makefile.micro regen_uconfig;; 1.56 - esac && 1.57 - make -f Makefile.micro && 1.58 - install -Dm755 microperl $install/usr/bin/microperl 1.59 - ;; 1.60 - *) 1.61 - export BUILD_ZLIB=False 1.62 - export BUILD_BZIP2=0 1.63 - sh Configure -des \ 1.64 - -Dprefix=/usr \ 1.65 - -Dvendorprefix=/usr \ 1.66 - -Dman1dir=/usr/share/man/man1 \ 1.67 - -Dman3dir=/usr/share/man/man3 \ 1.68 - -Dpager="/usr/bin/less -isR" \ 1.69 - -Duseshrplib \ 1.70 - -Dusethreads && 1.71 - make && make install 1.72 - ;; 1.73 - esac 1.74 + export BUILD_ZLIB=False 1.75 + export BUILD_BZIP2=0 1.76 + sh Configure -des \ 1.77 + -Dprefix=/usr \ 1.78 + -Dvendorprefix=/usr \ 1.79 + -Dman1dir=/usr/share/man/man1 \ 1.80 + -Dman3dir=/usr/share/man/man3 \ 1.81 + -Dpager="/usr/bin/less -isR" \ 1.82 + -Duseshrplib \ 1.83 + -Dusethreads && 1.84 + make && 1.85 + make install 1.86 } 1.87 1.88 genpkg_rules() { 1.89 @@ -84,17 +50,12 @@ 1.90 perl) 1.91 copy @std @rm 1.92 DEPENDS="bzlib gdbm zlib perl-core" 1.93 - PROVIDE="microperl perl-thread" 1.94 + PROVIDE="microperl" 1.95 TAGS="LFS" 1.96 ;; 1.97 *-dev) 1.98 copy @dev 1.99 ;; 1.100 - microperl) 1.101 - copy @std 1.102 - CAT="development|micro version" 1.103 - DEPENDS="glibc-base" 1.104 - ;; 1.105 esac 1.106 } 1.107