Gentoo Archives: gentoo-dev

From: Eric Noack <eric.noack@×××.de>
To: gentoo-dev@g.o
Subject: Re: [gentoo-dev] What to do :?
Date: Wed, 20 Feb 2002 05:56:23
Message-Id: 20020220115252.2D99A173619@VikingPC.home
In Reply to: [gentoo-dev] What to do :? by Gila
1 -----BEGIN PGP SIGNED MESSAGE-----
2 Hash: SHA1
3
4 Am Mittwoch, 20. Februar 2002 04:25 schrieben Sie:
5 > hey guys....
6 >
7 > i am making a ebuild for a file share program that works fine imho.. but
8 > i got a question:
9 >
10 > The main program is console based but a GUI is optional. the problem is
11 > that i want to make a ebuild that compiles the GUI is the gtk use flag
12 > is set. How do i make it so that IF use GTK it downloads configure make
13 > make install the GUI in one ebuild ?
14 >
15 >
16 > _______________________________________________
17 > gentoo-dev mailing list
18 > gentoo-dev@g.o
19 > http://lists.gentoo.org/mailman/listinfo/gentoo-dev
20
21 i think i have seen this several times allready. just make two ebuild which
22 differ in name like
23 program-console.xxx.ebuild
24 program-gui.xxx.ebuild
25
26 the one "DEPEND" ´s on gtk and installs the gui, the other does not
27 so the end-user can choose what he likes, this way getting gtk automatically
28 if he needs the gui
29
30
31 Eric
32 - -----------------------------------
33 "why make it simple if theres a difficult sollution?"
34
35 -----BEGIN PGP SIGNATURE-----
36 Version: GnuPG v1.0.6 (GNU/Linux)
37 Comment: For info see http://www.gnupg.org
38
39 iD8DBQE8c44AQqwrci69eh0RAny3AKCI+zGRO+SLpRcjYd37B2/EckH6ygCgjscm
40 /cOx3ZpwuCZqmF30iwZypLg=
41 =T06j
42 -----END PGP SIGNATURE-----