File tree Expand file tree Collapse file tree 2 files changed +15
-12
lines changed
recipes/perl-unicode-utf8 Expand file tree Collapse file tree 2 files changed +15
-12
lines changed Original file line number Diff line number Diff line change 11#! /bin/bash
2+ set -o errexit -o pipefail
23
3- # If it has Build.PL use that, otherwise use Makefile.PL
4- if [ -f Build.PL ]; then
4+ export LC_ALL=" en_US.UTF-8"
5+ export LDFLAGS=" ${LDFLAGS} -L${PREFIX} /lib"
6+
7+ if [[ -f Build.PL ]]; then
58 perl Build.PL
69 perl ./Build
710 perl ./Build test
811 # Make sure this goes in site
912 perl ./Build install --installdirs site
10- elif [ -f Makefile.PL ]; then
13+ elif [[ -f Makefile.PL ] ]; then
1114 # Make sure this goes in site
12- perl Makefile.PL INSTALLDIRS=site
13- make
15+ perl Makefile.PL INSTALLDIRS=site NO_PACKLIST=1 NO_PERLLOCAL=1
16+ make -j " ${CPU_COUNT} "
1417 make test
1518 make install
1619else
Original file line number Diff line number Diff line change @@ -7,19 +7,18 @@ package:
77 version : {{ version }}
88
99source :
10- url : https://cpan.metacpan.org/authors/id/C/CH/CHANSEN/Unicode-UTF8-0.66 .tar.gz
10+ url : https://cpan.metacpan.org/authors/id/C/CH/CHANSEN/Unicode-UTF8-{{ version }} .tar.gz
1111 sha256 : {{ sha256 }}
1212
1313build :
14+ number : 1
1415 run_exports :
1516 - {{ pin_subpackage(name, max_pin="x.x") }}
16- number : 0
1717
1818requirements :
1919 build :
2020 - make
2121 - {{ compiler('cxx') }}
22-
2322 host :
2423 - perl
2524 - perl-test-fatal
@@ -37,11 +36,12 @@ test:
3736 - Unicode::UTF8
3837
3938about :
40- home : http://metacpan.org/pod/Unicode::UTF8
41- license : perl_5
42- summary : ' Encoding and decoding of UTF-8 encoding form'
39+ home : " https://metacpan.org/pod/Unicode::UTF8"
40+ license : " Perl_5"
41+ summary : " Encoding and decoding of UTF-8 encoding form."
42+ doc_url : " https://metacpan.org/pod/Unicode::UTF8"
4343
4444extra :
45- # osx-arm64 is erroring due to missing perl-encode in conda forge
4645 additional-platforms :
4746 - linux-aarch64
47+ - osx-arm64
You can’t perform that action at this time.
0 commit comments