blob: 2ce856bb614e5a663cad4c55993cb46dfcd4b495 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
# Copyright 1999-2003 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/eclass/xfree.eclass,v 1.2 2003/06/30 06:12:29 spyderous Exp $
#
# Author: Seemant Kulleen <seemant@gentoo.org>
#
# The xfree.eclass is designed to ease the checking functions that are
# performed in xfree and xfree-drm ebuilds. In the new scheme, a variable
# called VIDEO_CARDS will be used to indicate which cards a user wishes to
# build support for. Note, that this variable is only unlocked if the USE
# variable "expertxfree" is switched on, at least for xfree.
ECLASS=xfree
INHERITED="${INHERITED} ${ECLASS}"
EXPORT_FUNCTIONS vcards
vcards() {
has "$1" "${VIDEO_CARDS}" && return 0
return 1
}
|