summaryrefslogtreecommitdiffstats
path: root/abs/core/perl/perl-binary-module-dependency-1.template
blob: 822ee91d135e691131f276f61e2ba166e926042b (plain)
1
2
3
4
5
if [[ $(find "$pkgdir/usr/lib/perl5/" -name "*.so") ]]; then
	_perlver_min=$(perl -e '$v = $^V->{version}; print $v->[0].".".($v->[1]);')
	_perlver_max=$(perl -e '$v = $^V->{version}; print $v->[0].".".($v->[1]+1);')
	depends+=("perl>=$_perlver_min" "perl<$_perlver_max")
fi