1 |
On 28 March 2014 23:47, Michał Górny <mgorny@g.o> wrote: |
2 |
|
3 |
> Please paste a real example, it's easier to understand what you're |
4 |
> trying to do when we see what it does. |
5 |
> |
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 tokens |
15 |
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 |
I myself did a few things in an overlay using the B.1 style, but quickly |
27 |
stopped due to the consequences that happened if the final function was |
28 |
accidentally omitted, and this happened enough to be annoying. |
29 |
|
30 |
I can't readily find any examples of B.2 in tree, but its an approach I've |
31 |
also used, but I had some people say they didn't like it, can't recall why |
32 |
now, it was a while ago. ( I Think it may have been side effects due to |
33 |
fragility from calling lots of functions or something, but can't remember ) |
34 |
|
35 |
|
36 |
-- |
37 |
Kent |