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

Diff of /eclass/elisp.eclass

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

Revision 1.1.1.1 Revision 1.11
1# Copyright 1999-2004 Gentoo Foundation 1# Copyright 1999-2004 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.1.1.1 2005/11/30 09:59:37 chriswhite Exp $ 3# $Header: /var/cvsroot/gentoo-x86/eclass/elisp.eclass,v 1.11 2004/06/25 00:39:48 vapier Exp $
4# 4#
5# Copyright 2002-2003 Matthew Kennedy <mkennedy@gentoo.org> 5# Copyright 2002-2003 Matthew Kennedy <mkennedy@gentoo.org>
6# Copyright 2003 Jeremy Maitin-Shepard <jbms@attbi.com> 6# Copyright 2003 Jeremy Maitin-Shepard <jbms@attbi.com>
7# 7#
8# This eclass sets the site-lisp directory for emacs-related packages. 8# This eclass sets the site-lisp directory for emacs-related packages.
9 9
10inherit elisp-common 10inherit elisp-common
11ECLASS=elisp
12INHERITED="$INHERITED $ECLASS"
11 13
12# SRC_URI should be set to wherever the primary app-emacs/ maintainer 14# SRC_URI should be set to wherever the primary app-emacs/ maintainer
13# keeps the local elisp mirror, since most app-emacs packages are 15# keeps the local elisp mirror, since most app-emacs packages are
14# upstream as a single .el file. 16# upstream as a single .el file.
15 17
29elisp_src_unpack() { 31elisp_src_unpack() {
30 unpack ${A} 32 unpack ${A}
31 if [ "${SIMPLE_ELISP}" = 't' ] 33 if [ "${SIMPLE_ELISP}" = 't' ]
32 then 34 then
33 cd ${S} && mv ${P}.el ${PN}.el 35 cd ${S} && mv ${P}.el ${PN}.el
34 fi 36 fi
35} 37}
36 38
37elisp_src_compile() { 39elisp_src_compile() {
38 elisp-compile *.el || die 40 elisp-compile *.el || die
39} 41}

Legend:
Removed from v.1.1.1.1  
changed lines
  Added in v.1.11

  ViewVC Help
Powered by ViewVC 1.1.20