public inbox for gentoo-dev@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Johannes Ballé" <joba123@arcor.de>
To: gentoo-dev@gentoo.org
Subject: [gentoo-dev] Ebuild programming question
Date: Wed, 20 Nov 2002 01:32:40 +0100	[thread overview]
Message-ID: <200211200132.40258.joba123@arcor.de> (raw)

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


             reply	other threads:[~2002-11-20  0:32 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-11-20  0:32 Johannes Ballé [this message]
2002-11-20  1:15 ` [gentoo-dev] Ebuild programming question Michael Cummings
2002-11-20  7:52   ` Johannes Ballé
2002-11-20 14:05     ` Karl Trygve Kalleberg
2002-11-21 15:42       ` Johannes Ballé

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=200211200132.40258.joba123@arcor.de \
    --to=joba123@arcor.de \
    --cc=gentoo-dev@gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox