Gentoo Archives: gentoo-dev

From: mike <vapier@×××××××.com>
To: gentoo-dev@g.o
Subject: Re: [gentoo-dev] how to name ebuild scripts for tarballs with uncommon names
Date: Thu, 19 Sep 2002 16:14:22
Message-Id: 07a201c26021$b9fc9280$55f1d782@vapier
In Reply to: Re: [gentoo-dev] how to name ebuild scripts for tarballs with uncommon names by Mathias Menzel-Nielsen
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