public inbox for gentoo-dev@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-dev] multiple version parts in ebuild name.
@ 2003-06-20 14:32 Henti Smith
  2003-06-20 15:50 ` Max Kalika
  0 siblings, 1 reply; 2+ messages in thread
From: Henti Smith @ 2003-06-20 14:32 UTC (permalink / raw
  To: gentoo-dev

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.

I've asked google, but didn't get much back :( 

help please :) 

-- 
Henti Smith
bain@tcsn.co.za
Senior Administrator
The Computer-Smith Networking
http://www.tcsn.co.za

--
gentoo-dev@gentoo.org mailing list


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [gentoo-dev] multiple version parts in ebuild name.
  2003-06-20 14:32 [gentoo-dev] multiple version parts in ebuild name Henti Smith
@ 2003-06-20 15:50 ` Max Kalika
  0 siblings, 0 replies; 2+ messages in thread
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	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2003-06-20 15:50 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-06-20 14:32 [gentoo-dev] multiple version parts in ebuild name Henti Smith
2003-06-20 15:50 ` Max Kalika

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