From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id 0A9321381F3 for ; Wed, 4 Sep 2013 17:18:48 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id AEB2EE0BDA; Wed, 4 Sep 2013 17:18:46 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 45C66E0BDA for ; Wed, 4 Sep 2013 17:18:46 +0000 (UTC) Received: from hornbill.gentoo.org (hornbill.gentoo.org [94.100.119.163]) (using TLSv1 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 6078733ED3A for ; Wed, 4 Sep 2013 17:18:45 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by hornbill.gentoo.org (Postfix) with ESMTP id DFCE3E468F for ; Wed, 4 Sep 2013 17:18:43 +0000 (UTC) From: "José María Alonso" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "José María Alonso" Message-ID: <1378315146.7e06bc68b7d1b45ab11441a041ebb9770b5747bf.nimiux@gentoo> Subject: [gentoo-commits] proj/lisp:master commit in: dev-lisp/cl-gd/ X-VCS-Repository: proj/lisp X-VCS-Files: dev-lisp/cl-gd/cl-gd-0.6.0.ebuild X-VCS-Directories: dev-lisp/cl-gd/ X-VCS-Committer: nimiux X-VCS-Committer-Name: José María Alonso X-VCS-Revision: 7e06bc68b7d1b45ab11441a041ebb9770b5747bf X-VCS-Branch: master Date: Wed, 4 Sep 2013 17:18:43 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: 65e701e0-f365-4020-85f2-d0bce0c45339 X-Archives-Hash: b40a731998f79e8376813cdb4e15f640 commit: 7e06bc68b7d1b45ab11441a041ebb9770b5747bf Author: Chema Alonso gentoo org> AuthorDate: Wed Sep 4 17:19:06 2013 +0000 Commit: José María Alonso gentoo org> CommitDate: Wed Sep 4 17:19:06 2013 +0000 URL: http://git.overlays.gentoo.org/gitweb/?p=proj/lisp.git;a=commit;h=7e06bc68 dev-lisp/cl-gd: bump to version 0.6.0 --- dev-lisp/cl-gd/cl-gd-0.6.0.ebuild | 47 +++++++++++++++++++++++++++++++++++++++ 1 file changed, 47 insertions(+) diff --git a/dev-lisp/cl-gd/cl-gd-0.6.0.ebuild b/dev-lisp/cl-gd/cl-gd-0.6.0.ebuild new file mode 100644 index 0000000..c4daf19 --- /dev/null +++ b/dev-lisp/cl-gd/cl-gd-0.6.0.ebuild @@ -0,0 +1,47 @@ +# Copyright 1999-2013 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ + +EAPI=5 + +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() { + # 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 + dohtml doc/* +}