1 # Description: Perl programming language
2 # URL: http://www.perl.org/
3 # Maintainer: CRUX System Team, core-ports at crux dot nu
4 # Arch Maintainer: CRUX-ARM System Team, devel at crux-arm dot nu
10 source=(http://www.cpan.org/src/5.0/$name-$version.tar.bz2)
17 -Dprivlib=/usr/lib/perl5/${version%.*} \
18 -Dsitelib=/usr/lib/perl5/site_perl/${version%.*} \
22 -Dman1dir=/usr/man/man1 \
23 -Dman3dir=/usr/man/man3 \
30 make DESTDIR=$PKG install
32 ln -sf perl${version%-*} $PKG/usr/bin/perl
33 ln -sf c2ph $PKG/usr/bin/pstruct
34 ln -sf s2p $PKG/usr/bin/psed
35 ln -sf c2ph.1pm $PKG/usr/man/man1/pstruct.1pm
36 ln -sf s2p.1pm $PKG/usr/man/man1/psed.1pm
40 -iname 'Change*' -or \
41 -iname 'README*' -or \
43 -name '.packlist' -or \
44 -name 'perllocal.pod' | xargs rm
46 find $PKG -depth -empty -exec rmdir {} \;