talimat 318 B

1234567891011121314151617
  1. version=5.22.1
  2. source=(http://ftp.funet.fi/pub/CPAN/src/perl-$version.tar.bz2
  3. )
  4. derle()
  5. {
  6. cd perl-$version
  7. sh Configure -des -Dprefix=/tools -Dlibs=-lm
  8. make
  9. cp -v perl cpan/podlators/pod2man /tools/bin
  10. mkdir -pv /tools/lib/perl5/$version
  11. cp -Rv lib/* /tools/lib/perl5/$version
  12. ln -s /tools/bin/perl $LFS/usr/bin
  13. }