commit: e2a1dc0d3e17d1cf6007bd00d9307130c20e1d60
Author: Chema Alonso <nimiux <AT> gentoo <DOT> org>
AuthorDate: Sun Jun 15 20:22:00 2014 +0000
Commit: José María Alonso <nimiux <AT> gentoo <DOT> org>
CommitDate: Sun Jun 15 20:22:00 2014 +0000
URL:
http://git.overlays.gentoo.org/gitweb/?p=proj/lisp.git;a=commit;h=e2a1dc0d
dev-lisp/alexandria: build doc
---
dev-lisp/alexandria/alexandria-9999.ebuild | 25 +++++++++++++++++++++++--
1 file changed, 23 insertions(+), 2 deletions(-)
diff --git a/dev-lisp/alexandria/alexandria-9999.ebuild
b/dev-lisp/alexandria/alexandria-9999.ebuild
index 90ca9d4..9d1072b 100644
--- a/dev-lisp/alexandria/alexandria-9999.ebuild
+++ b/dev-lisp/alexandria/alexandria-9999.ebuild
@@ -1,8 +1,8 @@
-# Copyright 1999-2013 Gentoo Foundation
+# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $
-EAPI=3
+EAPI=5
inherit common-lisp-3 git-2
@@ -14,3 +14,24 @@ LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64 ~ppc ~sparc ~x86"
IUSE="doc"
+
+DEPEND="doc? ( sys-apps/texinfo )"
+RDEPEND=""
+
+builddoc() {
+ if use doc ; then
+ cd doc || die
+ emake
+ fi
+}
+
+src_compile() {
+ use doc && builddoc
+}
+
+src_install() {
+ common-lisp-install-sources -t all *.lisp LICENCE
+ common-lisp-install-asdf
+ dodoc README AUTHORS
+ use doc && doinfo doc/${PN}.info && dohtml doc/${PN}.html && dodoc
doc/${PN}.pdf
+}