Gentoo Archives: gentoo-dev

From: Mathias Menzel-Nielsen <matze@××××××××.de>
To: gentoo-dev@g.o
Subject: Re: [gentoo-dev] how to name ebuild scripts for tarballs with uncommon names
Date: Thu, 19 Sep 2002 14:12:22
Message-Id: 20020919185349.GA4100@gentleman
In Reply to: Re: [gentoo-dev] how to name ebuild scripts for tarballs with uncommon names by Martin Schlemmer
1 Am Donnerstag, dem 19. September 2002 um 20:45:40 +0200 meinte Martin Schlemmer:
2 > Not exactly.
3 >
4 > It should be called: "package-0.99.1_rc2.ebuild"
5 >
6 > Note the "_rc2" and NOT "-rc2".
7 >
8 > You will then have: MY_P="${P/_/}"
9
10 Yeah, this works fine, but here comes another problem:
11 The tarball is named package-0.99.1RC2.tar.gz
12 (note the uppercase RC)
13 sorry, i didn't mention that.
14
15 how to handle this?
16
17 it works, if i do this:
18
19 MY_P="${PN}-${PV/_/}"
20 MY_P="${MY_P/r/R}"
21 MY_P="${MY_P/c/C}"
22
23 but whats the advantage, (except looking cool ;) ), to MY_P="package-0.99.1RC2.tar.gz" (like in net-www/jboss) ?
24
25 >
26 >
27 > --
28 >
29 > Martin Schlemmer
30 > Gentoo Linux Developer, Desktop Team Developer
31 > Cape Town, South Africa
32 >
33 >
34 > _______________________________________________
35 > gentoo-dev mailing list
36 > gentoo-dev@g.o
37 > http://lists.gentoo.org/mailman/listinfo/gentoo-dev
38
39 --
40 Mathias Menzel-Nielsen <matze@××××××××.de>
41 pub 1024D/9ABC606E
42
43 If you have plenty of sparetime and want to do something *very* useful,
44 write a decentralized - p2p - SHA-hashing - GPL'd - File - Sharing - Program!

Replies