From: Bob Phan <bob@evil-core.com>
To: gentoo-dev@gentoo.org
Subject: Re: [gentoo-dev] What to do :?
Date: Fri, 22 Feb 2002 13:27:39 +0000 (/etc/localtime) [thread overview]
Message-ID: <Pine.LNX.4.21.0202221324560.23624-100000@lucifer.evil-core.com> (raw)
In-Reply-To: <1014175503.12730.4.camel@GiTop>
On 20 Feb 2002, Gila wrote:
> hey guys....
>
> i am making a ebuild for a file share program that works fine imho.. but
> i got a question:
>
> The main program is console based but a GUI is optional. the problem is
> that i want to make a ebuild that compiles the GUI is the gtk use flag
> is set. How do i make it so that IF use GTK it downloads configure make
> make install the GUI in one ebuild ?
You probably want to make two packages, Foo-console and Foo-gui. Foo-gui
should depend on Foo-console, therefor if you choose to install Foo-gui
it will install Foo-console automatically. This is the way the xine
packages work (which you should probably take a look at). Xine-ui depends
on xine-lib, so when you emerge xine-ui, you get a fully functional gui
xine, but if you emerge xine-lib, you end up with just the libraries
needed for another xine frontend.
/*
* Bob Phan <bob@evil-core.com,rphan@nrgn.com>
* Computational Chemistry Informatics
* Neurogen Corporation
* (203)488-8201 x4645
*
* To understand recursion, you must first understand recursion.
*/
next prev parent reply other threads:[~2002-02-22 18:34 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-02-20 3:25 [gentoo-dev] What to do :? Gila
2002-02-20 11:52 ` Eric Noack
2002-02-20 12:06 ` Eric Noack
2002-02-22 13:27 ` Bob Phan [this message]
2002-02-23 23:54 ` Martin Schlemmer
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=Pine.LNX.4.21.0202221324560.23624-100000@lucifer.evil-core.com \
--to=bob@evil-core.com \
--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