1 |
commit: fc58594a08c1f7c9470a51d31f152fd99c46cf8e |
2 |
Author: Chema Alonso Josa <nimiux <AT> gentoo <DOT> org> |
3 |
AuthorDate: Mon May 28 17:04:26 2018 +0000 |
4 |
Commit: José María Alonso <nimiux <AT> gentoo <DOT> org> |
5 |
CommitDate: Mon May 28 17:04:26 2018 +0000 |
6 |
URL: https://gitweb.gentoo.org/proj/lisp.git/commit/?id=fc58594a |
7 |
|
8 |
dev-lisp/cffi: Bumps version to 0.19.0 |
9 |
|
10 |
dev-lisp/cffi/cffi-0.19.0.ebuild | 45 ++++++++++++++++++++++++++++++++++++++++ |
11 |
1 file changed, 45 insertions(+) |
12 |
|
13 |
diff --git a/dev-lisp/cffi/cffi-0.19.0.ebuild b/dev-lisp/cffi/cffi-0.19.0.ebuild |
14 |
new file mode 100644 |
15 |
index 00000000..45ab2f4b |
16 |
--- /dev/null |
17 |
+++ b/dev-lisp/cffi/cffi-0.19.0.ebuild |
18 |
@@ -0,0 +1,45 @@ |
19 |
+# Copyright 1999-2018 Gentoo Foundation |
20 |
+# Distributed under the terms of the GNU General Public License v2 |
21 |
+ |
22 |
+EAPI=6 |
23 |
+ |
24 |
+inherit common-lisp-3 |
25 |
+ |
26 |
+DESCRIPTION="The Common Foreign Function Interface (CFFI)" |
27 |
+HOMEPAGE="http://common-lisp.net/project/cffi/" |
28 |
+SRC_URI="https://github.com/cffi/cffi/archive/v${PV}.tar.gz -> ${P}.tar.gz" |
29 |
+ |
30 |
+LICENSE="MIT" |
31 |
+SLOT="0" |
32 |
+KEYWORDS="~amd64 ~ppc ~sparc ~x86" |
33 |
+IUSE="doc" |
34 |
+ |
35 |
+DEPEND="doc? ( dev-lisp/sbcl virtual/texi2dvi )" |
36 |
+RDEPEND="!dev-lisp/cl-${PN} |
37 |
+ dev-lisp/alexandria |
38 |
+ dev-lisp/babel |
39 |
+ dev-lisp/trivial-features" |
40 |
+ |
41 |
+CLSYSTEMS="cffi.asd cffi-tests.asd cffi-examples.asd cffi-grovel.asd \ |
42 |
+ cffi-uffi-compat.asd cffi-toolchain cffi-libffi" |
43 |
+ |
44 |
+install_docs() { |
45 |
+ doinfo doc/*.info |
46 |
+ insinto /usr/share/doc/${PF}/html |
47 |
+ doins -r doc/{spec,manual} |
48 |
+} |
49 |
+ |
50 |
+src_compile() { |
51 |
+ if use doc ; then |
52 |
+ VARTEXFONTS="${T}"/fonts \ |
53 |
+ make -C doc manual spec || die "Cannot build docs" |
54 |
+ fi |
55 |
+} |
56 |
+ |
57 |
+src_install() { |
58 |
+ common-lisp-install-sources examples/ src/ uffi-compat/ |
59 |
+ common-lisp-install-sources -t all grovel/ tests/ toolchain/ libffi/ |
60 |
+ common-lisp-install-asdf |
61 |
+ dodoc README.md TODO doc/*.txt |
62 |
+ use doc && install_docs |
63 |
+} |