1 |
On Sat, 29 Mar 2014 01:44:06 +1300 |
2 |
Kent Fredric <kentfredric@×××××.com> wrote: |
3 |
> On 28 March 2014 23:47, Michał Górny <mgorny@g.o> wrote: |
4 |
> > Please paste a real example, it's easier to understand what you're |
5 |
> > trying to do when we see what it does. |
6 |
> |
7 |
> |
8 |
> For the A.1 style: |
9 |
> |
10 |
> MODULE_AUTHOR=DOY |
11 |
> MODULE_VERSION=2.0604 |
12 |
> inherit perl-module |
13 |
> |
14 |
> ^ from Moose 2.60.400.ebuild , this creates SRC_URI based on those |
15 |
> tokens above as: |
16 |
> |
17 |
> "mirror://cpan/authors/id/D/DO/DOY/Moose-2.0604.tar.gz" |
18 |
> |
19 |
> |
20 |
> KDE_HANDBOOK="optional" |
21 |
> KMNAME="kde-workspace" |
22 |
> inherit systemd kde4-meta flag-o-matic user |
23 |
> |
24 |
> ^ from kdm-4.11.7.ebuild |
25 |
|
26 |
These look a lot like they're just parameters to an eclass... An |
27 |
alternative approach is to make this explicit, rather than having |
28 |
zillions of environment variables: |
29 |
|
30 |
http://exherbo.org/docs/exheres-for-smarties.html#exlib_parameters |
31 |
|
32 |
-- |
33 |
Ciaran McCreesh |