From 5f2241ceea35cfe979d1521a492a57ab950f8b83 Mon Sep 17 00:00:00 2001 From: Donnie Berkholz Date: Mon, 12 Dec 2005 01:56:08 +0000 Subject: Add some documentation on how to use the eclass. --- eclass/x-modular.eclass | 18 +++++++++++++++++- 1 file changed, 17 insertions(+), 1 deletion(-) (limited to 'eclass/x-modular.eclass') diff --git a/eclass/x-modular.eclass b/eclass/x-modular.eclass index c9ca2da7b6da..f8f434b1e544 100644 --- a/eclass/x-modular.eclass +++ b/eclass/x-modular.eclass @@ -1,11 +1,27 @@ # Copyright 1999-2005 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/eclass/x-modular.eclass,v 1.31 2005/12/12 01:43:28 spyderous Exp $ +# $Header: /var/cvsroot/gentoo-x86/eclass/x-modular.eclass,v 1.32 2005/12/12 01:56:08 spyderous Exp $ # # Author: Donnie Berkholz # # This eclass is designed to reduce code duplication in the modularized X11 # ebuilds. +# +# Using this eclass: +# +# Inherit it. If you need to run autoreconf for any reason (e.g., your patches +# apply to the autotools files rather than configure), set SNAPSHOT="yes". Set +# CONFIGURE_OPTIONS to everything you want to pass to the configure script. +# +# If you have any patches to apply, set PATCHES to their locations and epatch +# will apply them. It also handles epatch-style bulk patches, if you know how to +# use them and set the correct variables. If you don't, read eutils.eclass. +# +# If you're creating a font package and the suffix of PN is not equal to the +# subdirectory of /usr/share/fonts/ it should install into, set FONT_DIR to that +# directory or directories. +# +# Pretty much everything else should be automatic. EXPORT_FUNCTIONS src_unpack src_compile src_install pkg_preinst pkg_postinst pkg_postrm -- cgit v1.2.3-65-gdbad