milis/talimatname/onsistem/0perl/talimat

17 lines
318 B
Plaintext
Raw Normal View History

2016-02-24 01:27:23 +01:00
version=5.22.1
source=(http://ftp.funet.fi/pub/CPAN/src/perl-$version.tar.bz2
)
build()
{
cd perl-$version
sh Configure -des -Dprefix=/tools -Dlibs=-lm
make
cp -v perl cpan/podlators/pod2man /tools/bin
mkdir -pv /tools/lib/perl5/$version
cp -Rv lib/* /tools/lib/perl5/$version
ln -s /tools/bin/perl $LFS/usr/bin
}