1 |
commit: a4f377dfbb57d9fc73af53d411abc76284ea184b |
2 |
Author: Chema Alonso Josa <nimiux <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sat Dec 3 22:21:38 2016 +0000 |
4 |
Commit: José María Alonso <nimiux <AT> gentoo <DOT> org> |
5 |
CommitDate: Sat Dec 3 22:21:38 2016 +0000 |
6 |
URL: https://gitweb.gentoo.org/proj/lisp.git/commit/?id=a4f377df |
7 |
|
8 |
dev-lisp/cl-gd: Bumps version to 0.6.1 |
9 |
|
10 |
dev-lisp/cl-gd/cl-gd-0.6.1.ebuild | 48 +++++++++++++++++++++++++++++++++++++++ |
11 |
1 file changed, 48 insertions(+) |
12 |
|
13 |
diff --git a/dev-lisp/cl-gd/cl-gd-0.6.1.ebuild b/dev-lisp/cl-gd/cl-gd-0.6.1.ebuild |
14 |
new file mode 100644 |
15 |
index 0000000..0a6d816 |
16 |
--- /dev/null |
17 |
+++ b/dev-lisp/cl-gd/cl-gd-0.6.1.ebuild |
18 |
@@ -0,0 +1,48 @@ |
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 toolchain-funcs |
26 |
+ |
27 |
+MY_P="v${PV}" |
28 |
+ |
29 |
+DESCRIPTION="CL-GD is a library for Common Lisp which interfaces to the GD Graphics Library" |
30 |
+HOMEPAGE="http://weitz.de/cl-gd/ |
31 |
+ http://www.cliki.net/cl-gd/" |
32 |
+SRC_URI="https://github.com/edicl/${PN}/archive/${MY_P}.tar.gz -> ${P}.tar.gz" |
33 |
+ |
34 |
+LICENSE="BSD-2" |
35 |
+SLOT="0" |
36 |
+KEYWORDS="~amd64 ~ppc ~sparc ~x86" |
37 |
+IUSE="" |
38 |
+ |
39 |
+DEPEND=">=media-libs/gd-2.0.28[jpeg,png,xpm]" |
40 |
+RDEPEND="${DEPEND} |
41 |
+ >=dev-lisp/uffi-1.3.4 |
42 |
+ dev-lisp/cffi" |
43 |
+ |
44 |
+CLSYSTEMS="${PN} ${PN}-test" |
45 |
+ |
46 |
+src_prepare() { |
47 |
+ default |
48 |
+ # Cleanup uneeded file |
49 |
+ rm "${S}"/test/.gitignore || die |
50 |
+} |
51 |
+ |
52 |
+src_compile() { |
53 |
+ # I have no idea why it doesn't work with as-needed |
54 |
+ echo $(tc-getCC) ${CFLAGS} ${LDFLAGS} -Wl,--no-as-needed -shared -fPIC -lgd ${PN}-glue.c -o ${PN}-glue.so |
55 |
+ $(tc-getCC) ${CFLAGS} ${LDFLAGS} -Wl,--no-as-needed -shared -fPIC -lgd ${PN}-glue.c -o ${PN}-glue.so |
56 |
+} |
57 |
+ |
58 |
+src_install() { |
59 |
+ dolib.so ${PN}-glue.so |
60 |
+ |
61 |
+ common-lisp-install-sources -t all *.lisp test |
62 |
+ common-lisp-install-asdf |
63 |
+ |
64 |
+ dodoc CHANGELOG README |
65 |
+ dodoc doc/* |
66 |
+} |