# hdw - linux perl package # # author: hackbard@hackdaworld.dyndns.org # # [V] 5.8.4 # [S] 1-9 2-10 # [D] perl-5.8.4.tar.gz ftp://ftp.cpan.org/pub/CPAN/src/ e_ver=`echo $ver | awk -F. '{ print $1 }'` confopt="--prefix=$prefix -Dstatic_ext='IO Fcntl POSIX'" if [ "$hdw_status" = "1" ] ; then build_main() { ./configure.gnu $confopt make perl utilities cp perl pod/pod2man $prefix/bin mkdir -p $prefix/lib/perl${e_ver}/$ver cp -R lib/* $prefix/lib/perl${e_ver}/$ver } else build_main() { ./configure.gnu $confopt -Dpager="/bin/less -isR" && make && make install } fi