commit:     a4f377dfbb57d9fc73af53d411abc76284ea184b
Author:     Chema Alonso Josa <nimiux <AT> gentoo <DOT> org>
AuthorDate: Sat Dec  3 22:21:38 2016 +0000
Commit:     José María Alonso <nimiux <AT> gentoo <DOT> org>
CommitDate: Sat Dec  3 22:21:38 2016 +0000
URL:        https://gitweb.gentoo.org/proj/lisp.git/commit/?id=a4f377df

dev-lisp/cl-gd: Bumps version to 0.6.1

 dev-lisp/cl-gd/cl-gd-0.6.1.ebuild | 48 +++++++++++++++++++++++++++++++++++++++
 1 file changed, 48 insertions(+)

diff --git a/dev-lisp/cl-gd/cl-gd-0.6.1.ebuild 
b/dev-lisp/cl-gd/cl-gd-0.6.1.ebuild
new file mode 100644
index 0000000..0a6d816
--- /dev/null
+++ b/dev-lisp/cl-gd/cl-gd-0.6.1.ebuild
@@ -0,0 +1,48 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=6
+
+inherit common-lisp-3 toolchain-funcs
+
+MY_P="v${PV}"
+
+DESCRIPTION="CL-GD is a library for Common Lisp which interfaces to the GD 
Graphics Library"
+HOMEPAGE="http://weitz.de/cl-gd/
+               http://www.cliki.net/cl-gd/";
+SRC_URI="https://github.com/edicl/${PN}/archive/${MY_P}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="BSD-2"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~sparc ~x86"
+IUSE=""
+
+DEPEND=">=media-libs/gd-2.0.28[jpeg,png,xpm]"
+RDEPEND="${DEPEND}
+               >=dev-lisp/uffi-1.3.4
+               dev-lisp/cffi"
+
+CLSYSTEMS="${PN} ${PN}-test"
+
+src_prepare() {
+       default
+       # Cleanup uneeded file
+       rm "${S}"/test/.gitignore || die
+}
+
+src_compile() {
+       # I have no idea why it doesn't work with as-needed
+       echo $(tc-getCC) ${CFLAGS} ${LDFLAGS} -Wl,--no-as-needed -shared -fPIC 
-lgd ${PN}-glue.c -o ${PN}-glue.so
+       $(tc-getCC) ${CFLAGS} ${LDFLAGS} -Wl,--no-as-needed -shared -fPIC -lgd 
${PN}-glue.c -o ${PN}-glue.so
+}
+
+src_install() {
+       dolib.so ${PN}-glue.so
+
+       common-lisp-install-sources -t all *.lisp test
+       common-lisp-install-asdf
+
+       dodoc CHANGELOG README
+       dodoc doc/*
+}

Reply via email to