From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <gentoo-dev-return-9281-arch-gentoo-dev=gentoo.org@lists.gentoo.org>
Received: (qmail 974 invoked from network); 5 Jan 2004 23:16:10 +0000
Received: from smtp.gentoo.org (128.193.0.39)
  by eagle.gentoo.oregonstate.edu with DES-CBC3-SHA encrypted SMTP; 5 Jan 2004 23:16:10 +0000
Received: from lists.gentoo.org ([128.193.0.34] helo=eagle.gentoo.org)
	by smtp.gentoo.org with esmtp (Exim 4.24)
	id 1AddxC-0004Ng-7p
	for arch-gentoo-dev@lists.gentoo.org; Mon, 05 Jan 2004 23:16:10 +0000
Received: (qmail 6571 invoked by uid 50004); 5 Jan 2004 23:11:39 +0000
Mailing-List: contact gentoo-dev-help@gentoo.org; run by ezmlm
Precedence: bulk
List-Post: <mailto:gentoo-dev@gentoo.org>
List-Help: <mailto:gentoo-dev-help@gentoo.org>
List-Unsubscribe: <mailto:gentoo-dev-unsubscribe@gentoo.org>
List-Subscribe: <mailto:gentoo-dev-subscribe@gentoo.org>
List-Id: Gentoo Linux mail <gentoo-dev.gentoo.org>
X-BeenThere: gentoo-dev@gentoo.org
Received: (qmail 3054 invoked from network); 5 Jan 2004 23:11:31 +0000
To: gentoo-dev@lists.gentoo.org
References: <ehqjvvko8a6r6e0qe5nfhh5frbdjrdq9pi@4ax.com>
From: Jeremy Maitin-Shepard <jbms@gentoo.org>
Date: Mon, 05 Jan 2004 18:14:10 -0500
In-Reply-To: <ehqjvvko8a6r6e0qe5nfhh5frbdjrdq9pi@4ax.com> (Loyd Goodbar's
 message of "Mon, 05 Jan 2004 16:52:26 -0600")
Message-ID: <87isjqrnst.fsf@jbms.ath.cx>
User-Agent: Gnus/5.1005 (Gnus v5.10.5) Emacs/21.3.50 (gnu/linux)
MIME-Version: 1.0
Content-Type: text/plain
Subject: Re: [gentoo-dev] Ebuild determine architecture?
X-Archives-Salt: c35be5bb-62bc-4206-89e3-d999e0d1daea
X-Archives-Hash: 35bf46dd4aae77de8d23a4511fad0239

Loyd Goodbar <loyd@blackrobes.net> writes:

> The RPMs I'm working with convert to .tar.gz and install, but the RPMs use
> RedHat's naming convention (blah.version.i386.rpm or blah.version.ppc.rpm). Is
> there a way in an ebuild to know which architecture (x86/ppc) is being used so
> I can determine the correct file name?

Yes, USE flags can be used to determine the architecture.

-- 
Jeremy Maitin-Shepard

--
gentoo-dev@gentoo.org mailing list