public inbox for gentoo-dev@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-dev] Checking availability of a package from an ebuild
@ 2001-07-18  1:51 Dan Armak
  2001-07-18  8:03 ` Ben Lutgens
  2001-07-18 10:58 ` Daniel Robbins
  0 siblings, 2 replies; 4+ messages in thread
From: Dan Armak @ 2001-07-18  1:51 UTC (permalink / raw
  To: gentoo-dev

Hi all,

This may be trivial, but I can't find out how to do it. How can I check from 
within an ebuild whether or not a package is installed? For example whether 
virtual/x11 is available. (Even if it's not in USE).


-- 

Dan Armak
Gentoo Linux Developer
Matan, Israel



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

* Re: [gentoo-dev] Checking availability of a package from an ebuild
  2001-07-18  1:51 [gentoo-dev] Checking availability of a package from an ebuild Dan Armak
@ 2001-07-18  8:03 ` Ben Lutgens
  2001-07-18  8:37   ` Dan Armak
  2001-07-18 10:58 ` Daniel Robbins
  1 sibling, 1 reply; 4+ messages in thread
From: Ben Lutgens @ 2001-07-18  8:03 UTC (permalink / raw
  To: gentoo-dev

[-- Attachment #1: Type: text/plain, Size: 633 bytes --]

On Wed, Jul 18, 2001 at 10:30:42AM +0300, Dan Armak wrote:
>Hi all,
>
>This may be trivial, but I can't find out how to do it. How can I check from 
>within an ebuild whether or not a package is installed? For example whether 
>virtual/x11 is available. (Even if it's not in USE).

emerge --pretend

>
>
>-- 
>
>Dan Armak
>Gentoo Linux Developer
>Matan, Israel
>
>_______________________________________________
>gentoo-dev mailing list
>gentoo-dev@cvs.gentoo.org
>http://cvs.gentoo.org/mailman/listinfo/gentoo-dev

-- 
Ben Lutgens		
Sistina Software Inc.	
Kernel panic: I have no root and I want to scream

[-- Attachment #2: Type: application/pgp-signature, Size: 232 bytes --]

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

* Re: [gentoo-dev] Checking availability of a package from an ebuild
  2001-07-18  8:03 ` Ben Lutgens
@ 2001-07-18  8:37   ` Dan Armak
  0 siblings, 0 replies; 4+ messages in thread
From: Dan Armak @ 2001-07-18  8:37 UTC (permalink / raw
  To: gentoo-dev

On Wednesday 18 July 2001 17:03, you wrote:
> On Wed, Jul 18, 2001 at 10:30:42AM +0300, Dan Armak wrote:
> >Hi all,
> >
> >This may be trivial, but I can't find out how to do it. How can I check
> > from within an ebuild whether or not a package is installed? For example
> > whether virtual/x11 is available. (Even if it's not in USE).
>
> emerge --pretend

No I mean when _writing_ an ebuild, I want it to do different things based on 
whether some packages are installed.
-- 

Dan Armak
Gentoo Linux Developer
Matan, Israel



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

* Re: [gentoo-dev] Checking availability of a package from an ebuild
  2001-07-18  1:51 [gentoo-dev] Checking availability of a package from an ebuild Dan Armak
  2001-07-18  8:03 ` Ben Lutgens
@ 2001-07-18 10:58 ` Daniel Robbins
  1 sibling, 0 replies; 4+ messages in thread
From: Daniel Robbins @ 2001-07-18 10:58 UTC (permalink / raw
  To: gentoo-dev

On Wed, Jul 18, 2001 at 10:30:42AM +0300, Dan Armak wrote:
> Hi all,
> 
> This may be trivial, but I can't find out how to do it. How can I check from 
> within an ebuild whether or not a package is installed? For example whether 
> virtual/x11 is available. (Even if it's not in USE).

We don't have this functionality, and there's a reason for that -- a package's
capabilities should be determined by USE variables, not what packages currently
happen to be installed.  Without this, we cannot generate consistent .tbz2 
images.  Is there some reason why USE functionality won't work?

Best Regards,

-- 
Daniel Robbins					<drobbins@gentoo.org>
President/CEO					http://www.gentoo.org 
Gentoo Technologies, Inc.			



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

end of thread, other threads:[~2001-07-18 16:57 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2001-07-18  1:51 [gentoo-dev] Checking availability of a package from an ebuild Dan Armak
2001-07-18  8:03 ` Ben Lutgens
2001-07-18  8:37   ` Dan Armak
2001-07-18 10:58 ` Daniel Robbins

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