Subject: Re: meta package for all Perl modules ?
To: mehul.sanghvi <mehul.sanghvi@gmail.com>
From: Steven M. Bellovin <smb@cs.columbia.edu>
List: pkgsrc-users
Date: 08/03/2007 21:46:08
On Fri, 03 Aug 2007 19:31:51 -0400
"Mehul N. Sanghvi" <mehul.sanghvi@gmail.com> wrote:

> 'allo,
> 
>      What would be the quickest way to build all Perl module in
> pkgsrc/net and pkgsrc/www without building each one manually ?
> 

Here are a few lines of Bourne shell to do it; translate as appropriate
for csh and friends.

mkdir ~/build-logs
cd /usr/pkgsrc
for i in net/p5-* www/p5-*
do
	(cd $i && make install) >~/build-logs/`basename $i` 2>&1 ||
echo $i failed >>~/build-logs/Failures done



		--Steve Bellovin, http://www.cs.columbia.edu/~smb