/[gentoo-x86]/eclass/elisp.eclass
Gentoo

Diff of /eclass/elisp.eclass

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

Revision 1.19 Revision 1.20
1# Copyright 1999-2007 Gentoo Foundation 1# Copyright 1999-2007 Gentoo Foundation
2# Distributed under the terms of the GNU General Public License v2 2# Distributed under the terms of the GNU General Public License v2
3# $Header: /var/cvsroot/gentoo-x86/eclass/elisp.eclass,v 1.19 2007/07/02 06:19:18 opfer Exp $ 3# $Header: /var/cvsroot/gentoo-x86/eclass/elisp.eclass,v 1.20 2007/07/10 20:14:52 ulm Exp $
4# 4#
5# Copyright 2007 Christian Faulhammer <opfer@gentoo.org> 5# Copyright 2007 Christian Faulhammer <opfer@gentoo.org>
6# Copyright 2002-2007 Matthew Kennedy <mkennedy@gentoo.org> 6# Copyright 2002-2003 Matthew Kennedy <mkennedy@gentoo.org>
7# Copyright 2003 Jeremy Maitin-Shepard <jbms@attbi.com> 7# Copyright 2003 Jeremy Maitin-Shepard <jbms@attbi.com>
8# Copyright 2007 Ulrich Mueller <ulm@gentoo.org> 8# Copyright 2007 Ulrich Mueller <ulm@gentoo.org>
9# 9#
10# This eclass sets the site-lisp directory for emacs-related packages. 10# This eclass sets the site-lisp directory for emacs-related packages.
11# 11#
12# Emacs support for other than pure elisp packages is handled by 12# Emacs support for other than pure elisp packages is handled by
13# elisp-common.eclass where you won't have a dependency on Emacs 13# elisp-common.eclass where you won't have a dependency on Emacs itself.
14# itself. All elisp-* functions are documented there. 14# All elisp-* functions are documented there.
15# 15#
16# Setting SIMPLE_ELISP=t in an ebuild means, that the package's source 16# Setting SIMPLE_ELISP=t in an ebuild means, that the package's source
17# is a single (in whatever way) compressed elisp file with the file name 17# is a single (in whatever way) compressed elisp file with the file name
18# ${PN}-${PV}. The consequences: 18# ${PN}-${PV}. The consequences:
19# 19#
20# 1.) ${S} is redefined 20# 1.) ${S} is redefined,
21# 2.) ${PN}-${PV}.el is moved to ${PN} in the system. 21# 2.) ${PN}-${PV}.el is moved to ${PN}.el in src_unpack().
22#
23# SRC_URI should be set to wherever the primary app-emacs/ maintainer
24# keeps the local elisp mirror, since most app-emacs packages are
25# upstream as a single .el file.
26# 22#
27# DOCS="blah.txt ChangeLog" is automatically used to install the given 23# DOCS="blah.txt ChangeLog" is automatically used to install the given
28# files by dodoc in src_install(). 24# files by dodoc in src_install().
29# 25#
30# If you need anything different from Emacs 21, use the NEED_EMACS 26# If you need anything different from Emacs 21, use the NEED_EMACS
33 29
34inherit elisp-common versionator 30inherit elisp-common versionator
35 31
36VERSION=${NEED_EMACS:-21} 32VERSION=${NEED_EMACS:-21}
37DEPEND=">=virtual/emacs-${VERSION}" 33DEPEND=">=virtual/emacs-${VERSION}"
34RDEPEND=">=virtual/emacs-${VERSION}"
38IUSE="" 35IUSE=""
39 36
40if [ "${SIMPLE_ELISP}" = 't' ]; then 37if [ "${SIMPLE_ELISP}" = 't' ]; then
41 S="${WORKDIR}/" 38 S="${WORKDIR}/"
42fi 39fi

Legend:
Removed from v.1.19  
changed lines
  Added in v.1.20

  ViewVC Help
Powered by ViewVC 1.1.20