#!/bin/sh # Reading system configuration informations, functions and package versions. source ../sysinfos source ../functions source ../packages-list PERL_VERSION=$(get_pkg_ver ${1}) # Applying patches (if any) apply_patches ${1} && cd ${LFS_TMP}/${1} && ./configure.gnu \ --prefix=/tools \ -Dstatic_ext='Data/Dumper Fcntl IO POSIX' && make -j ${MAKEJOBS} perl utilities && cp -v perl pod/pod2man /tools/bin && mkdir -v -p /tools/lib/perl5/${PERL_VERSION} && cp -v -R lib/* /tools/lib/perl5/${PERL_VERSION} # Return last error exit $?