diff options
author | Donnie Berkholz <dberkholz@gentoo.org> | 2003-06-29 07:59:35 +0000 |
---|---|---|
committer | Donnie Berkholz <dberkholz@gentoo.org> | 2003-06-29 07:59:35 +0000 |
commit | 41d95e66118647234b9f6424578f3e7b2f4cf561 (patch) | |
tree | d687fd2392642f0ab0735d3ea5c9e0198d6e430c /eclass/xfree.eclass | |
parent | Initial import. Closes bug 18621 (diff) | |
download | historical-41d95e66118647234b9f6424578f3e7b2f4cf561.tar.gz historical-41d95e66118647234b9f6424578f3e7b2f4cf561.tar.bz2 historical-41d95e66118647234b9f6424578f3e7b2f4cf561.zip |
Initial commit of eclass, to be used in video-card-dependent ebuilds.
Diffstat (limited to 'eclass/xfree.eclass')
-rw-r--r-- | eclass/xfree.eclass | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/eclass/xfree.eclass b/eclass/xfree.eclass new file mode 100644 index 000000000000..64e9fa7b702f --- /dev/null +++ b/eclass/xfree.eclass @@ -0,0 +1,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.1 2003/06/29 07:59:35 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 XFREE_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 + +ECLASS=xfree +INHERITED="${INHERITED} ${ECLASS}" + +EXPORT_FUNCTIONS xcards + + +xcards() { + + has "$1" "${XFREE_CARDS}" && return 0 + return 1 +} |