Gentoo Archives: gentoo-dev

From: Max Kalika <max+lists.gentoo-dev@×××××××××.edu>
To: Henti Smith <bain@×××××××.za>, gentoo-dev@g.o
Subject: Re: [gentoo-dev] multiple version parts in ebuild name.
Date: Fri, 20 Jun 2003 15:50:04
Message-Id: 228840000.1056124201@valkyrie.lsit.ucsb.edu
In Reply to: [gentoo-dev] multiple version parts in ebuild name. by Henti Smith
1 Quoting Henti Smith <bain@×××××××.za>:
2
3 > Is there a "suggested" way around the multiple version parts error when
4 > you have a package with the name gl-117 as the package name. the ebuild
5 > would be gl-117-0.9.ebuild in directory gl-117 which causes the error.
6
7 One way may be to call the package gl_117 so it would look like:
8
9 app-games/gl_117/gl_117-0.9.ebuild
10
11 and inside the ebuild create a custom package variable:
12
13 MY_P="${P/_/-}"
14
15 Then you can use "${MY_P}" where you would normally use "${P}" or you can
16 just use "${P/_/-}" directly.
17
18 --
19 ---max kalika
20 --max@×××××××××.edu
21 -lsit systems administrator
22
23 --
24 gentoo-dev@g.o mailing list