diff options
author | William Harrington <kb0iic@berzerkula.org> | 2021-04-06 14:09:59 -0500 |
---|---|---|
committer | William Harrington <kb0iic@berzerkula.org> | 2021-04-06 14:09:59 -0500 |
commit | af28b78b8e659f995b39a5dde2ce2cef0da9fbe0 (patch) | |
tree | a80d4cfef7713f7aa26137c0da553358af4cd7b2 /chapter8/perl.sh | |
parent | 783a4c48e04e81783848f0cb0f757f6a836d7f6e (diff) |
Add chapter8 script commands.
Diffstat (limited to 'chapter8/perl.sh')
-rw-r--r-- | chapter8/perl.sh | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/chapter8/perl.sh b/chapter8/perl.sh index 7a693aa..c7afaaf 100644 --- a/chapter8/perl.sh +++ b/chapter8/perl.sh @@ -1,3 +1,26 @@ #!/bin/bash +MAJMIN="$(cut -d\. -f1,2 <<< "${VERSION}")" +export BUILD_ZLIB=False +export BUILD_BZIP2=0 + +sh Configure -des \ + -Dprefix=/usr \ + -Dvendorprefix=/usr \ + -Dprivlib=/usr/lib/perl5/"${MAJMIN}"/core_perl \ + -Darchlib=/usr/lib/perl5/"${MAJMIN}"/core_perl \ + -Dsitelib=/usr/lib/perl5/"${MAJMIN}"/site_perl \ + -Dsitearch=/usr/lib/perl5/"${MAJMIN}"/site_perl \ + -Dvendorlib=/usr/lib/perl5/"${MAJMIN}"/vendor_perl \ + -Dvendorarch=/usr/lib/perl5/"${MAJMIN}"/vendor_perl \ + -Dman1dir=/usr/share/man/man1 \ + -Dman3dir=/usr/share/man/man3 \ + -Dpager="/usr/bin/less -isR" \ + -Duseshrplib \ + -Dusethreads + +make + +make -j1 install +unset BUILD_ZLIB BUILD_BZIP2 |