summaryrefslogtreecommitdiff
blob: f3abd2d233a013a8ab8ce0695ddb114be9a52596 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
# Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/eclass/64-bit.eclass,v 1.6 2005/05/05 02:58:42 vapier Exp $

# Recognize 64-bit arches...
# Example:
#      64-bit && epatch ${P}-64bit.patch
# 
64-bit() {
	[[ ${PN} != "R" && ${PN} != "rxvt-unicode" ]] && die "DO NOT USE THIS ECLASS"

	case "${ARCH}" in 
		alpha|*64) return 0 ;;
		*)         return 1 ;;
	esac
}