Gentoo Archives: gentoo-dev

From: Paul de Vrieze <pauldv@××××××.nl>
To: Mathias Menzel-Nielsen <matze@××××××××.de>, gentoo-dev@g.o
Subject: Re: [gentoo-dev] how to name ebuild scripts for tarballs with uncommon names
Date: Fri, 20 Sep 2002 03:00:08
Message-Id: 200209200959.59009.pauldv@cs.kun.nl
In Reply to: Re: [gentoo-dev] how to name ebuild scripts for tarballs with uncommon names by Mathias Menzel-Nielsen
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