Gentoo Archives: gentoo-user

From: Danny YUE <sheepduke@×××××.com>
To: gentoo-user@l.g.o
Subject: [gentoo-user] Problem while writing ebuild
Date: Thu, 04 May 2017 10:01:36

As a noob in ebuild files, I got some problems while created my own
ebuild. I googled a lot but did not really find any clue.

Let's say package A has features B and C. They are Github repositories
and A is the entry, while B and C are submodules.

Now I want to make it three different packages respectively, and use USE
flags to control which to install just like texlive.

1) I know I can add USE `B' and `C' into `IUSE' variable, but if I run
`equery u A', those flags are listed but with an "<unknown>"
description. Where can I add some description information?

2) Only A has Github release URL, B and C by default should be fetched
via `git submodule...'. How am I supposed to fetch these packages in my
ebuild file? Download inside `src_unpack'?

Any help is appreciated. Thanks in advance.



Subject Author
Re: [gentoo-user] Problem while writing ebuild Nils Freydank <nils.freydank@××××××.de>
Re: [gentoo-user] Problem while writing ebuild gentoo-user@××××.de