Gentoo Archives: gentoo-ppc-dev

From: Calum Selkirk <cselkirk@××××××.nl>
To: gentoo ppc dev list <gentoo-ppc-dev@g.o>
Subject: [gentoo-ppc-dev] Re: How to bring more ebuilds to ppc
Date: Wed, 03 Sep 2003 07:23:51
Message-Id: 20030903072244.GB716@xs4all.nl
In Reply to: Re: [gentoo-ppc-dev] How to bring more ebuilds to ppc by Thanh Ly
1 sorry .. ment that to be a list_reply
2
3 * Thanh Ly [lycander@×××××××.com] [2003-09-03 01:53 -0400]:
4
5 > I'm a C++ junkie, if this can be done easier in a scripting language,
6 > great, maybe someone else will come up with the script.
7
8 Off the top of my head .. tested in zsh
9
10 # find KEYWORDS="ppc"
11 for i in `find /usr/portage/${my_target_subdir} -name "*.ebuild" -print` ;
12 do egrep -l "^KEYWORDS=\".+[^~-]ppc.*\"" $i ;
13 done
14
15 # find KEYWORDS="~ppc"
16 for i in `find /usr/portage/${my_target_subdir} -name "*.ebuild" -print` ;
17 do egrep -l "^KEYWORDS=\".+~ppc.*\"" $i ;
18 done
19
20 best
21
22 cal
23
24 --
25 gentoo-ppc-dev@g.o mailing list