/[gentoo-alt]/trunk/prefix/eclass/64-bit.eclass
Gentoo

Contents of /trunk/prefix/eclass/64-bit.eclass

Parent Directory Parent Directory | Revision Log Revision Log


Revision 982 - (show annotations) (download)
Thu Feb 2 04:20:17 2006 UTC (13 years, 2 months ago) by kito
File size: 457 byte(s)
Initial eclass import from gentoo-x86
1 # Copyright 1999-2005 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/eclass/64-bit.eclass,v 1.7 2005/07/11 15:08:06 swegener Exp $
4
5 # Recognize 64-bit arches...
6 # Example:
7 # 64-bit && epatch ${P}-64bit.patch
8 #
9
10 64-bit() {
11 [[ ${PN} != "R" && ${PN} != "rxvt-unicode" ]] && die "DO NOT USE THIS ECLASS"
12
13 case "${ARCH}" in
14 alpha|*64) return 0 ;;
15 *) return 1 ;;
16 esac
17 }

  ViewVC Help
Powered by ViewVC 1.1.20