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

Diff of /eclass/elisp.eclass

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

Revision 1.11 Revision 1.14
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.11 2004/06/25 00:39:48 vapier Exp $ 3# $Header: /var/cvsroot/gentoo-x86/eclass/elisp.eclass,v 1.14 2005/07/11 15:08:06 swegener 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"
13 11
14# SRC_URI should be set to wherever the primary app-emacs/ maintainer 12# SRC_URI should be set to wherever the primary app-emacs/ maintainer
15# keeps the local elisp mirror, since most app-emacs packages are 13# keeps the local elisp mirror, since most app-emacs packages are
16# upstream as a single .el file. 14# upstream as a single .el file.
17 15
31elisp_src_unpack() { 29elisp_src_unpack() {
32 unpack ${A} 30 unpack ${A}
33 if [ "${SIMPLE_ELISP}" = 't' ] 31 if [ "${SIMPLE_ELISP}" = 't' ]
34 then 32 then
35 cd ${S} && mv ${P}.el ${PN}.el 33 cd ${S} && mv ${P}.el ${PN}.el
36 fi 34 fi
37} 35}
38 36
39elisp_src_compile() { 37elisp_src_compile() {
40 elisp-compile *.el || die 38 elisp-compile *.el || die
41} 39}

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

  ViewVC Help
Powered by ViewVC 1.1.20