1 |
On Thursday 19 September 2002 20:53, Mathias Menzel-Nielsen wrote: |
2 |
> Am Donnerstag, dem 19. September 2002 um 20:45:40 +0200 meinte Martin |
3 |
Schlemmer: |
4 |
> > Not exactly. |
5 |
> > |
6 |
> > It should be called: "package-0.99.1_rc2.ebuild" |
7 |
> > |
8 |
> > Note the "_rc2" and NOT "-rc2". |
9 |
> > |
10 |
> > You will then have: MY_P="${P/_/}" |
11 |
> |
12 |
> Yeah, this works fine, but here comes another problem: |
13 |
> The tarball is named package-0.99.1RC2.tar.gz |
14 |
> (note the uppercase RC) |
15 |
> sorry, i didn't mention that. |
16 |
> |
17 |
> how to handle this? |
18 |
> |
19 |
> it works, if i do this: |
20 |
> |
21 |
> MY_P="${PN}-${PV/_/}" |
22 |
> MY_P="${MY_P/r/R}" |
23 |
> MY_P="${MY_P/c/C}" |
24 |
> |
25 |
> but whats the advantage, (except looking cool ;) ), to |
26 |
> MY_P="package-0.99.1RC2.tar.gz" (like in net-www/jboss) ? |
27 |
> |
28 |
|
29 |
This is a little more version change resistant. If the upstream people decide |
30 |
to make a RC3 you only need to copy the ebuild to a new name, create a |
31 |
digest and you are ready to go. |
32 |
|
33 |
Paul |
34 |
|
35 |
-- |
36 |
Paul de Vrieze |
37 |
Junior Researcher |
38 |
Mail: pauldv@××××××.nl |
39 |
Homepage: http://www.devrieze.net |