commit: fc58594a08c1f7c9470a51d31f152fd99c46cf8e Author: Chema Alonso Josa <nimiux <AT> gentoo <DOT> org> AuthorDate: Mon May 28 17:04:26 2018 +0000 Commit: José María Alonso <nimiux <AT> gentoo <DOT> org> CommitDate: Mon May 28 17:04:26 2018 +0000 URL: https://gitweb.gentoo.org/proj/lisp.git/commit/?id=fc58594a
dev-lisp/cffi: Bumps version to 0.19.0 dev-lisp/cffi/cffi-0.19.0.ebuild | 45 ++++++++++++++++++++++++++++++++++++++++ 1 file changed, 45 insertions(+) diff --git a/dev-lisp/cffi/cffi-0.19.0.ebuild b/dev-lisp/cffi/cffi-0.19.0.ebuild new file mode 100644 index 00000000..45ab2f4b --- /dev/null +++ b/dev-lisp/cffi/cffi-0.19.0.ebuild @@ -0,0 +1,45 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +inherit common-lisp-3 + +DESCRIPTION="The Common Foreign Function Interface (CFFI)" +HOMEPAGE="http://common-lisp.net/project/cffi/" +SRC_URI="https://github.com/cffi/cffi/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~ppc ~sparc ~x86" +IUSE="doc" + +DEPEND="doc? ( dev-lisp/sbcl virtual/texi2dvi )" +RDEPEND="!dev-lisp/cl-${PN} + dev-lisp/alexandria + dev-lisp/babel + dev-lisp/trivial-features" + +CLSYSTEMS="cffi.asd cffi-tests.asd cffi-examples.asd cffi-grovel.asd \ + cffi-uffi-compat.asd cffi-toolchain cffi-libffi" + +install_docs() { + doinfo doc/*.info + insinto /usr/share/doc/${PF}/html + doins -r doc/{spec,manual} +} + +src_compile() { + if use doc ; then + VARTEXFONTS="${T}"/fonts \ + make -C doc manual spec || die "Cannot build docs" + fi +} + +src_install() { + common-lisp-install-sources examples/ src/ uffi-compat/ + common-lisp-install-sources -t all grovel/ tests/ toolchain/ libffi/ + common-lisp-install-asdf + dodoc README.md TODO doc/*.txt + use doc && install_docs +}
