commit: ba446c0abdb4d9ebafc1e374525710c175112257 Author: Chema Alonso <nimiux <AT> gentoo <DOT> org> AuthorDate: Wed Jun 11 08:35:46 2014 +0000 Commit: José María Alonso <nimiux <AT> gentoo <DOT> org> CommitDate: Wed Jun 11 08:35:46 2014 +0000 URL: http://git.overlays.gentoo.org/gitweb/?p=proj/lisp.git;a=commit;h=ba446c0a
dev-lisp/sb-cga: Moved to EAPI 5 and git-2. Build doc --- dev-lisp/sb-cga/sb-cga-9999.ebuild | 28 +++++++++++++++++++++------- 1 file changed, 21 insertions(+), 7 deletions(-) diff --git a/dev-lisp/sb-cga/sb-cga-9999.ebuild b/dev-lisp/sb-cga/sb-cga-9999.ebuild index 0e0d061..5d66fa6 100644 --- a/dev-lisp/sb-cga/sb-cga-9999.ebuild +++ b/dev-lisp/sb-cga/sb-cga-9999.ebuild @@ -1,9 +1,10 @@ -# Copyright 1999-2010 Gentoo Foundation +# Copyright 1999-2014 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: $ -EAPI=2 -inherit common-lisp-2 git +EAPI=5 + +inherit common-lisp-3 git-2 DESCRIPTION="Computer graphics algebra library for SBCL." HOMEPAGE="http://github.com/3b/sb-cga" @@ -12,13 +13,26 @@ EGIT_REPO_URI="git://github.com/3b/sb-cga.git" LICENSE="MIT" SLOT="0" KEYWORDS="~amd64 ~ppc ~sparc ~x86" -IUSE="" +IUSE="doc" RDEPEND="dev-lisp/sbcl dev-lisp/alexandria" +src_prepare() { + if use doc ; then + sed -e 's/--css/--css-include/' -i doc/Makefile || die + fi +} + +src_compile() { + if use doc ; then + cd doc || die + emake + fi +} + src_install() { - common-lisp-install *.{lisp,asd} ports/ - common-lisp-symlink-asdf - dodoc NOTES || die + common-lisp-install-sources *.lisp ports + common-lisp-install-asdf + use doc && dodoc README && dohtml doc/sb-cga.html }
