On 11:08 Sat 08 Dec     , Matteo Azzali (mattepiu) wrote:
> 1.1                  media-tv/xmltv/xmltv-0.5.50.ebuild
> 
> file : 
> http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-tv/xmltv/xmltv-0.5.50.ebuild?rev=1.1&view=markup
> plain: 
> http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-tv/xmltv/xmltv-0.5.50.ebuild?rev=1.1&content-type=text/plain

> make_config() {
>       # Never except default configuration
>       echo "no"
> 
>       # Enable Australian
>       #use au && echo "yes" || echo "no"
>       # Enable Agentina
>       use ar && echo "yes" || echo "no"
>       # Enable Brazil
>       #use br && echo "yes" || echo "no"
>       # Enable Brazil Cable
>       use brnet && echo "yes" || echo "no"

... snip more ...

You could simplify this with the yesno() function that's in a number of 
ebuilds around the tree, for example sys-apps/less.

Thanks,
Donnie
-- 
[EMAIL PROTECTED] mailing list

Reply via email to