public inbox for gentoo-dev@lists.gentoo.org
 help / color / mirror / Atom feed
Search results ordered by [date|relevance]  view[summary|nested|Atom feed]
thread overview below | download: 
* Re: [gentoo-dev] multiple version parts in ebuild name.
  @ 2003-06-20 15:50 99% ` Max Kalika
  0 siblings, 0 replies; 1+ results
From: Max Kalika @ 2003-06-20 15:50 UTC (permalink / raw
  To: Henti Smith, gentoo-dev

Quoting Henti Smith <bain@tcsn.co.za>:

> Is there a "suggested" way around the multiple version parts error when
> you have a package with the name gl-117 as the package name. the ebuild
> would be gl-117-0.9.ebuild in directory gl-117 which causes the error.

One way may be to call the package gl_117 so it would look like:

  app-games/gl_117/gl_117-0.9.ebuild

and inside the ebuild create a custom package variable:

  MY_P="${P/_/-}"

Then you can use "${MY_P}" where you would normally use "${P}" or you can
just use "${P/_/-}" directly.

--
---max kalika
--max@lsit.ucsb.edu
-lsit systems administrator

--
gentoo-dev@gentoo.org mailing list


^ permalink raw reply	[relevance 99%]

Results 1-1 of 1 | reverse | options above
-- pct% links below jump to the message on this page, permalinks otherwise --
2003-06-20 14:32     [gentoo-dev] multiple version parts in ebuild name Henti Smith
2003-06-20 15:50 99% ` Max Kalika

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox