public inbox for gentoo-dev@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-dev] Ebuild programming question
@ 2002-11-20  0:32 Johannes Ballé
  2002-11-20  1:15 ` Michael Cummings
  0 siblings, 1 reply; 5+ messages in thread
From: Johannes Ballé @ 2002-11-20  0:32 UTC (permalink / raw
  To: gentoo-dev

Hello developers,

I am new to ebuild programming, please excuse me asking (maybe trivial) 
questions here I couldn't find answers for elsewhere.

The basic problem of ebuild programming seems to be that you need to map "USE" 
options from the portage system to the "configure" options of the package 
source.

Many packages come with the ability to auto-detect certain features, though.

One example: the em8300-libraries package provides a library and several tools 
to run an MPEG-decoder PCI card. Some of these tools need gtk, others only 
need a text console. A user may wish to omit installation of the gtk tools 
(on X-less boxes, for example).

Would it be considered bad practice to put a dependency like "gtk? ( gtk... )" 
into the ebuild, but leave it to the configure script to sort out whether gtk 
is installed or not (hence, whether to compile the gtk tools or not)?

-- 
Johannes Ballé <joba123@arcor.de>


--
gentoo-dev@gentoo.org mailing list


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2002-11-21 15:42 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-11-20  0:32 [gentoo-dev] Ebuild programming question Johannes Ballé
2002-11-20  1:15 ` Michael Cummings
2002-11-20  7:52   ` Johannes Ballé
2002-11-20 14:05     ` Karl Trygve Kalleberg
2002-11-21 15:42       ` Johannes Ballé

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox