From e8a6d182baff2ced6027f8810eee8eb07030fd32 Mon Sep 17 00:00:00 2001 From: Jamie Lenehan Date: Wed, 25 Apr 2007 01:17:54 +0000 Subject: perl 5.8.8: Move comments on how to create the dependency list into the dependency file itself to make the main recipe a bit more readable. Also move the two dependencies that were manually added to the the dependenecy list file and fix use RDEPENDS instead of DEPENDS. --- packages/perl/perl-rdepends_5.8.8.inc | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'packages/perl/perl-rdepends_5.8.8.inc') diff --git a/packages/perl/perl-rdepends_5.8.8.inc b/packages/perl/perl-rdepends_5.8.8.inc index 905edbdaaf..1ce5ad0375 100644 --- a/packages/perl/perl-rdepends_5.8.8.inc +++ b/packages/perl/perl-rdepends_5.8.8.inc @@ -1,3 +1,11 @@ +# To create/update the perl-rdepends_${PV}.inc use this piece of ugly script (modified for your arch/paths etc): +# daka@DaKa2:/home/slug/slugos/tmp/work/perl-5.8.7-r14/install$ egrep -r "use|require" * | grep ";$" | egrep ".pm:use |.pm:require " | grep -v v5.6.0 | grep -v 5.00 | grep -v \$module | sed -e "s, \+, ,g" | cut -f1,2 -d" " | sed -e "s,;, ,g" | sed -e "s,(), ,g" | sed -e "s,::,-,g" | sort | uniq | tr [:upper:] [:lower:] | sed -e "s,/[^ ]\+ , += \"perl-module-,g" | sed -e "s, \?$, \",g" | sed -e "s,_,-,g" | sed -e "s,^,RDEPENDS_,g" | sed -e "s,armeb-linux,\$\{TARGET_ARCH\}-\$\{TARGET_OS\},g" | egrep -v "perl-module-5|perl-module-tk|perl-module-mac-internetconfig|perl-module-ndbm-file|perl-module-html-treebuilder|perl-module-lwp-simple|perl-module-vms-filespec|perl-module-fcgi|perl-module-vms-stdio|perl-module-mac-buildtools" > /home/slug/openembedded/packages/perl/rdepends.tmp + +# Some additional dependencies that the above doesn't manage to figure out +RDEPENDS_perl-module-math-bigint += "perl-module-math-bigint-calc " +RDEPENDS_perl-module-math-bigint-calc += "perl-module-integer " + +# Depends list RDEPENDS_perl-misc += "perl-module-exporter " RDEPENDS_perl-misc += "perl-module-strict " RDEPENDS_perl-misc += "perl-module-warnings " -- cgit v1.2.3