| 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.21 2007/07/25 04:46:01 ulm Exp $ |
3 | # $Header: /var/cvsroot/gentoo-x86/eclass/elisp.eclass,v 1.22 2007/08/27 19:41:03 ulm Exp $ |
| 4 | # |
4 | # |
| 5 | # Copyright 2007 Christian Faulhammer <opfer@gentoo.org> |
5 | # Copyright 2007 Christian Faulhammer <opfer@gentoo.org> |
| 6 | # Copyright 2002-2003 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> |
| … | |
… | |
| 37 | DEPEND=">=virtual/emacs-${VERSION}" |
37 | DEPEND=">=virtual/emacs-${VERSION}" |
| 38 | RDEPEND=">=virtual/emacs-${VERSION}" |
38 | RDEPEND=">=virtual/emacs-${VERSION}" |
| 39 | IUSE="" |
39 | IUSE="" |
| 40 | |
40 | |
| 41 | if [ "${SIMPLE_ELISP}" = 't' ]; then |
41 | if [ "${SIMPLE_ELISP}" = 't' ]; then |
| 42 | S="${WORKDIR}/" |
42 | S="${WORKDIR}" |
| 43 | fi |
43 | fi |
| 44 | |
44 | |
| 45 | elisp_pkg_setup() { |
45 | elisp_pkg_setup() { |
| 46 | local emacs_version="$(elisp-emacs-version)" |
46 | local emacs_version="$(elisp-emacs-version)" |
| 47 | if ! version_is_at_least "${VERSION}" "${emacs_version}"; then |
47 | if ! version_is_at_least "${VERSION}" "${emacs_version}"; then |