public inbox for gentoo-dev@lists.gentoo.org
 help / color / mirror / Atom feed
From: Max Kalika <max+lists.gentoo-dev@lsit.ucsb.edu>
To: Henti Smith <bain@tcsn.co.za>, gentoo-dev@gentoo.org
Subject: Re: [gentoo-dev] multiple version parts in ebuild name.
Date: Fri, 20 Jun 2003 08:50:01 -0700	[thread overview]
Message-ID: <228840000.1056124201@valkyrie.lsit.ucsb.edu> (raw)
In-Reply-To: <20030620163202.3061d21e.bain@tcsn.co.za>

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


      reply	other threads:[~2003-06-20 15:50 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-06-20 14:32 [gentoo-dev] multiple version parts in ebuild name Henti Smith
2003-06-20 15:50 ` Max Kalika [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=228840000.1056124201@valkyrie.lsit.ucsb.edu \
    --to=max+lists.gentoo-dev@lsit.ucsb.edu \
    --cc=bain@tcsn.co.za \
    --cc=gentoo-dev@gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox