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