1 |
> > Not exactly. |
2 |
> > |
3 |
> > It should be called: "package-0.99.1_rc2.ebuild" |
4 |
> > |
5 |
> > Note the "_rc2" and NOT "-rc2". |
6 |
> > |
7 |
> > You will then have: MY_P="${P/_/}" |
8 |
|
9 |
oh well i just suck then ;) |
10 |
|
11 |
> MY_P="${PN}-${PV/_/}" |
12 |
> MY_P="${MY_P/r/R}" |
13 |
> MY_P="${MY_P/c/C}" |
14 |
|
15 |
MY_P="${PN}-${PV/_rc/RC}" |
16 |
|
17 |
> but whats the advantage, (except looking cool ;) ), to |
18 |
MY_P="package-0.99.1RC2.tar.gz" (like in net-www/jboss) |
19 |
|
20 |
easier to make updates ... if you do this: |
21 |
`cp package-0.99.1_rc2.ebuild package-0.99.1_rc4.ebuild` |
22 |
and the guy who made the tarball names it the same way, you |
23 |
dont have to edit the ebuild to fix a variable for the package |
24 |
-mike |