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

Diff of /eclass/elisp.eclass

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

Revision 1.55 Revision 1.56
1# Copyright 1999-2012 Gentoo Foundation 1# Copyright 1999-2013 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.55 2012/08/17 20:29:24 ulm Exp $ 3# $Header: /var/cvsroot/gentoo-x86/eclass/elisp.eclass,v 1.56 2013/01/04 21:22:43 ulm Exp $
4# 4#
5# @ECLASS: elisp.eclass 5# @ECLASS: elisp.eclass
6# @MAINTAINER: 6# @MAINTAINER:
7# Gentoo Emacs team <emacs@gentoo.org> 7# Gentoo Emacs team <emacs@gentoo.org>
8# @AUTHOR: 8# @AUTHOR:
81# @DESCRIPTION: 81# @DESCRIPTION:
82# Test if the eselected Emacs version is sufficient to fulfil the major 82# Test if the eselected Emacs version is sufficient to fulfil the major
83# version requirement of the NEED_EMACS variable. 83# version requirement of the NEED_EMACS variable.
84 84
85elisp_pkg_setup() { 85elisp_pkg_setup() {
86 elisp-need-emacs "${NEED_EMACS:-21}" || die "Emacs version too low" 86 elisp-need-emacs "${NEED_EMACS:-21}"
87 case $? in
88 0) ;;
89 1) die "Emacs version too low" ;;
90 *) die "Could not determine Emacs version" ;;
91 esac
87} 92}
88 93
89# @FUNCTION: elisp_src_unpack 94# @FUNCTION: elisp_src_unpack
90# @DESCRIPTION: 95# @DESCRIPTION:
91# Unpack the sources; also handle the case of a single *.el file in 96# Unpack the sources; also handle the case of a single *.el file in

Legend:
Removed from v.1.55  
changed lines
  Added in v.1.56

  ViewVC Help
Powered by ViewVC 1.1.20