-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Tue, 6 Jan 2004 08:22 am, Loyd Goodbar wrote:
> 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?
>
> Thanks,
> Loyd
> --
> Mediocrity: It takes a lot less time and most people won't notice
> the difference until it's too late. <http://www.despair.com/>
> [EMAIL PROTECTED]  ICQ#504581  http://www.blackrobes.net/
>
>
> --
> [EMAIL PROTECTED] mailing list


Use it like a use flag:


/usr/portage/app-misc/dnetc/dnetc-2.9005.483.ebuild:SRC_URI="x86? 
( http://http.distributed.net/pub/dcti/v${MAJ_PV}/dnetc${MIN_PV}-linux-x86-elf.tar.gz )
/usr/portage/app-misc/proxyper/proxyper-333.ebuild:SRC_URI="x86? 
( http://http.distributed.net/pub/dcti/${PN}/${PN}${PV}-linux-x86.tar.gz )


find /usr/portage/ -name "*ebuild" | xargs fgrep SRC_URI | fgrep x86 should 
give you some examples.

- -- 

Daniel Black
- --
Proudly a Gentoo Linux User.
GnuPG/PGP signed and encrypted email preferred
http://pgp.mit.edu:11371/pks/lookup?op=get&search=0x32A64DC8
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.3 (GNU/Linux)

iD8DBQE/+e2LTDSbtjKmTcgRAicrAKCKUHU2N0guSVuvq4cdIYfODthRcACg2x0/
SJ3xNOETNU3l8arQZxP0eyk=
=ovVT
-----END PGP SIGNATURE-----


--
[EMAIL PROTECTED] mailing list

Reply via email to