Updated to `Perl 5.36.0`

This commit is contained in:
RVG|lory 2023-04-08 22:29:44 +02:00 committed by GitHub
parent 86d897d580
commit 1da99d47f1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
5 changed files with 28 additions and 0 deletions

18
packages/perl/5.36.0/build.sh vendored Normal file
View File

@ -0,0 +1,18 @@
#!/bin/bash
PREFIX=$(realpath $(dirname $0))
mkdir -p build
cd build
curl "https://www.cpan.org/src/5.0/perl-5.36.0.tar.gz" -o perl.tar.gz
tar xzf perl.tar.gz --strip-components=1
./Configure -des -Dprefix="$PREFIX"
make -j$(nproc)
make install -j$(nproc)
cd ..
rm -rf build

1
packages/perl/5.36.0/environment vendored Normal file
View File

@ -0,0 +1 @@
export PATH=$PWD/bin:$PATH

5
packages/perl/5.36.0/metadata.json vendored Normal file
View File

@ -0,0 +1,5 @@
{
"language": "perl",
"version": "5.36.0",
"aliases": ["pl"]
}

3
packages/perl/5.36.0/run vendored Normal file
View File

@ -0,0 +1,3 @@
#!/bin/bash
perl "$@"

1
packages/perl/5.36.0/test.pl vendored Normal file
View File

@ -0,0 +1 @@
print("OK")