mirror of
https://git.adityakumar.xyz/lfs-scripts.git
synced 2024-11-13 00:39:46 +00:00
33 lines
726 B
Bash
33 lines
726 B
Bash
#!/bin/bash
|
|
|
|
cd /sources
|
|
tar xf perl-5.36.0.tar.xz
|
|
cd perl-5.36.0
|
|
|
|
sh Configure -des \
|
|
-Dprefix=/usr \
|
|
-Dvendorprefix=/usr \
|
|
-Dprivlib=/usr/lib/perl5/5.36/core_perl \
|
|
-Darchlib=/usr/lib/perl5/5.36/core_perl \
|
|
-Dsitelib=/usr/lib/perl5/5.36/site_perl \
|
|
-Dsitearch=/usr/lib/perl5/5.36/site_perl \
|
|
-Dvendorlib=/usr/lib/perl5/5.36/vendor_perl \
|
|
-Dvendorarch=/usr/lib/perl5/5.36/vendor_perl
|
|
|
|
if [ $? -ne 0 ]
|
|
then
|
|
exit 1
|
|
fi
|
|
|
|
make -j5
|
|
|
|
if [ $? -ne 0 ]
|
|
then
|
|
exit 1
|
|
fi
|
|
|
|
make install
|
|
|
|
cd $LFS/sources
|
|
rm -rf perl-5.36.0
|
|
|