Updated to `Perl 5.36.0`
This commit is contained in:
parent
86d897d580
commit
1da99d47f1
|
@ -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
|
|
@ -0,0 +1 @@
|
|||
export PATH=$PWD/bin:$PATH
|
|
@ -0,0 +1,5 @@
|
|||
{
|
||||
"language": "perl",
|
||||
"version": "5.36.0",
|
||||
"aliases": ["pl"]
|
||||
}
|
|
@ -0,0 +1,3 @@
|
|||
#!/bin/bash
|
||||
|
||||
perl "$@"
|
|
@ -0,0 +1 @@
|
|||
print("OK")
|
Loading…
Reference in New Issue