summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorUlrich Müller <ulm@gentoo.org>2008-01-27 19:10:28 +0000
committerUlrich Müller <ulm@gentoo.org>2008-01-27 19:10:28 +0000
commite0fa9b680d276a00307d5339608d533a54122774 (patch)
tree30e2691656601a13aff090dafc4620a3abfcdd24 /dev-lisp
parentalpha/ia64/sparc stable (diff)
downloadgentoo-2-e0fa9b680d276a00307d5339608d533a54122774.tar.gz
gentoo-2-e0fa9b680d276a00307d5339608d533a54122774.tar.bz2
gentoo-2-e0fa9b680d276a00307d5339608d533a54122774.zip
Add src_test. Other minor changes.
(Portage version: 2.1.4)
Diffstat (limited to 'dev-lisp')
-rw-r--r--dev-lisp/emacs-cl-cvs/ChangeLog8
-rw-r--r--dev-lisp/emacs-cl-cvs/emacs-cl-cvs-0.ebuild27
2 files changed, 19 insertions, 16 deletions
diff --git a/dev-lisp/emacs-cl-cvs/ChangeLog b/dev-lisp/emacs-cl-cvs/ChangeLog
index 96cd67005041..2577ded4ae77 100644
--- a/dev-lisp/emacs-cl-cvs/ChangeLog
+++ b/dev-lisp/emacs-cl-cvs/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for dev-lisp/emacs-cl-cvs
-# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-lisp/emacs-cl-cvs/ChangeLog,v 1.3 2007/07/07 13:51:43 ulm Exp $
+# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-lisp/emacs-cl-cvs/ChangeLog,v 1.4 2008/01/27 19:10:28 ulm Exp $
+
+ 27 Jan 2008; Ulrich Mueller <ulm@gentoo.org> emacs-cl-cvs-0.ebuild:
+ Remove redundant assignment of cvs.eclass defaults. Use emake in src_compile.
+ Add src_test function. Don't install COPYING file.
07 Jul 2007; Ulrich Mueller <ulm@gentoo.org> emacs-cl-cvs-0.ebuild:
Fix path in sitefile. Remove redundant DEPEND. Some minor syntax tweaks.
diff --git a/dev-lisp/emacs-cl-cvs/emacs-cl-cvs-0.ebuild b/dev-lisp/emacs-cl-cvs/emacs-cl-cvs-0.ebuild
index 303933ff25c5..0657afc4c4ff 100644
--- a/dev-lisp/emacs-cl-cvs/emacs-cl-cvs-0.ebuild
+++ b/dev-lisp/emacs-cl-cvs/emacs-cl-cvs-0.ebuild
@@ -1,19 +1,13 @@
-# Copyright 1999-2007 Gentoo Foundation
+# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-lisp/emacs-cl-cvs/emacs-cl-cvs-0.ebuild,v 1.2 2007/07/07 13:51:43 ulm Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-lisp/emacs-cl-cvs/emacs-cl-cvs-0.ebuild,v 1.3 2008/01/27 19:10:28 ulm Exp $
ECVS_SERVER="cvs.nocrew.org:/usr/local/cvsroot"
-if [ -z "${ECVS_BRANCH}" ]; then
- ECVS_BRANCH="HEAD"
-fi
ECVS_MODULE="emacs-cl"
-ECVS_USER="anonymous"
-ECVS_PASS=""
-ECVS_CVS_OPTIONS="-dP"
inherit elisp cvs
-DESCRIPTION="Emacs Common Lisp is an implementation of Common Lisp written in Emacs Lisp."
+DESCRIPTION="An implementation of Common Lisp written in Emacs Lisp"
HOMEPAGE="http://www.lisp.se/emacs-cl/
http://www.emacswiki.org/cgi-bin/wiki?EmacsCommonLisp
http://www.cliki.net/emacs-cl"
@@ -29,12 +23,17 @@ SITEFILE=50emacs-cl-gentoo.el
S="${WORKDIR}/${ECVS_MODULE}"
src_compile() {
- make EMACS=/usr/bin/emacs || die
+ emake EMACS="${EMACS}" || die "emake failed"
+}
+
+src_test() {
+ emake -j1 check EMACSEN="${EMACS}" || die "emake check failed"
}
src_install() {
- elisp-install emacs-cl *.{el,elc}
- elisp-site-file-install "${FILESDIR}/${SITEFILE}" emacs-cl
- dobin ${FILESDIR}/emacs-cl
- dodoc HACKING HOWTO README BUGS COPYING
+ elisp-install emacs-cl *.{el,elc} || die "elisp-install failed"
+ elisp-site-file-install "${FILESDIR}/${SITEFILE}" emacs-cl \
+ || die "elisp-site-file-install failed"
+ dobin "${FILESDIR}/emacs-cl"
+ dodoc BUGS HACKING HOWTO README
}