From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([208.92.234.80] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1Q3A24-0008Jz-TG for garchives@archives.gentoo.org; Fri, 25 Mar 2011 16:38:41 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 8409C1C051; Fri, 25 Mar 2011 16:38:32 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) by pigeon.gentoo.org (Postfix) with ESMTP id 3D2E41C051 for ; Fri, 25 Mar 2011 16:38:32 +0000 (UTC) Received: from pelican.gentoo.org (unknown [66.219.59.40]) (using TLSv1 with cipher ADH-CAMELLIA256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 944371B4197 for ; Fri, 25 Mar 2011 16:38:31 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by pelican.gentoo.org (Postfix) with ESMTP id 0378A8006A for ; Fri, 25 Mar 2011 16:38:31 +0000 (UTC) From: "Justin Lecher" To: gentoo-commits@lists.gentoo.org Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Justin Lecher" Message-ID: <899c55de7df92a3c537367bad3d9187aa482d574.jlec@gentoo> Subject: [gentoo-commits] proj/sci:master commit in: sci-libs/inchi/, sci-libs/inchi/files/ X-VCS-Repository: proj/sci X-VCS-Files: sci-libs/inchi/ChangeLog sci-libs/inchi/files/inchi-1.03-shared.patch sci-libs/inchi/inchi-1.03.ebuild sci-libs/inchi/metadata.xml X-VCS-Directories: sci-libs/inchi/ sci-libs/inchi/files/ X-VCS-Committer: jlec X-VCS-Committer-Name: Justin Lecher X-VCS-Revision: 899c55de7df92a3c537367bad3d9187aa482d574 Date: Fri, 25 Mar 2011 16:38:31 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: quoted-printable X-Archives-Salt: X-Archives-Hash: 54fd9a6c388ca7158cee8c139c164a61 commit: 899c55de7df92a3c537367bad3d9187aa482d574 Author: Justin Lecher gentoo org> AuthorDate: Fri Mar 25 15:02:02 2011 +0000 Commit: Justin Lecher gentoo org> CommitDate: Fri Mar 25 15:02:02 2011 +0000 URL: http://git.overlays.gentoo.org/gitweb/?p=3Dproj/sci.git;a=3Dc= ommit;h=3D899c55de Cleaned ebuild, moved from sci-chemistry to sci-libs (Portage version: 2.2.0_alpha28/git/Linux x86_64, signed Manifest commit = with key 70EB7916) --- sci-libs/inchi/ChangeLog | 14 ++++++ sci-libs/inchi/files/inchi-1.03-shared.patch | 20 +++++++++ sci-libs/inchi/inchi-1.03.ebuild | 59 ++++++++++++++++++++= ++++++ sci-libs/inchi/metadata.xml | 8 ++++ 4 files changed, 101 insertions(+), 0 deletions(-) diff --git a/sci-libs/inchi/ChangeLog b/sci-libs/inchi/ChangeLog new file mode 100644 index 0000000..654f218 --- /dev/null +++ b/sci-libs/inchi/ChangeLog @@ -0,0 +1,14 @@ +# ChangeLog for sci-libs/inchi +# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 +# $Header: $ + + 25 Mar 2011; Justin Lecher +inchi-1.03.ebuild, + +files/inchi-1.03-shared.patch, +metadata.xml: + Cleaned ebuild, moved from sci-chemistry to sci-libs + +*inchi-1.03 (14 Nov 2010) + + 14 Nov 2010; Reinis Danne +inchi-1.03.ebuild, + +files/inchi-1.03-makefile.patch, +metadata.xml: + New package sci-chemistry/inchi + diff --git a/sci-libs/inchi/files/inchi-1.03-shared.patch b/sci-libs/inch= i/files/inchi-1.03-shared.patch new file mode 100644 index 0000000..6f4619d --- /dev/null +++ b/sci-libs/inchi/files/inchi-1.03-shared.patch @@ -0,0 +1,20 @@ + INCHI_API/gcc_so_makefile/makefile | 4 +++- + 1 files changed, 3 insertions(+), 1 deletions(-) + +diff --git a/INCHI_API/gcc_so_makefile/makefile b/INCHI_API/gcc_so_makef= ile/makefile +index dd8e53c..cd617ad 100644 +--- a/INCHI_API/gcc_so_makefile/makefile ++++ b/INCHI_API/gcc_so_makefile/makefile +@@ -213,9 +213,11 @@ $(INCHI_LIB_PATHNAME).so$(VERSION): $(INCHI_LIB_OBJ= S) + $(SHARED_LINK) $(SHARED_LINK_PARM) -o \ + $(INCHI_LIB_PATHNAME).so$(VERSION) \ + $(INCHI_LIB_OBJS) \ +- -Wl$(LINUX_MAP)$(LINUX_Z_RELRO),-soname,$(INCHI_LIB_NAME).so$(MAIN_VE= RSION) ++ -Wl$(LINUX_MAP)$(LINUX_Z_RELRO),-soname,$(INCHI_LIB_NAME).so$(MAIN_VE= RSION) -lm + ln -fs $(INCHI_LIB_NAME).so$(VERSION) \ + $(INCHI_LIB_PATHNAME).so$(MAIN_VERSION) ++ ln -fs $(INCHI_LIB_NAME).so$(VERSION) \ ++ $(INCHI_LIB_PATHNAME).so +=20 + endif +=20 diff --git a/sci-libs/inchi/inchi-1.03.ebuild b/sci-libs/inchi/inchi-1.03= .ebuild new file mode 100644 index 0000000..40ec722 --- /dev/null +++ b/sci-libs/inchi/inchi-1.03.ebuild @@ -0,0 +1,59 @@ +# Copyright 1999-2011 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ + +EAPI=3D4 + +inherit eutils toolchain-funcs + +DESCRIPTION=3D"A program and library for generating standard and non-sta= ndard InChI and InChIKeys" +HOMEPAGE=3D"http://www.iupac.org/inchi/" +SRC_URI=3D"http://www.iupac.org/inchi/download/version${PV}/INCHI-1-API.= zip + doc? ( http://www.iupac.org/inchi/download/version${PV}/INCHI-1-DOC.zip= )" + +LICENSE=3D"LGPL-2.1" +SLOT=3D"0" +KEYWORDS=3D"~amd64 ~x86 ~amd64-linux ~x86-linux" +IUSE=3D"doc" + +DEPEND=3D"app-arch/unzip" +RDEPEND=3D"" + +S=3D"${WORKDIR}"/INCHI-1-API + +src_prepare() { + epatch "${FILESDIR}"/${P}-shared.patch +} + +src_compile() { + for i in INCHI/gcc/inchi-1 INCHI_API/gcc_so_makefile; do + pushd ${i} > /dev/null + emake \ + C_COMPILER=3D$(tc-getCC) \ + CPP_COMPILER=3D$(tc-getCXX) \ + LINKER=3D"$(tc-getCXX) ${LDFLAGS}" \ + SHARED_LINK=3D"$(tc-getCC) ${LDFLAGS} -shared" \ + C_COMPILER_OPTIONS=3D"\${P_INCL} -DADD_CMLPP=3D1 -ansi ${CFLAGS} -c "= \ + CPP_COMPILER_OPTIONS=3D"\${P_INCL} -D_LIB -DADD_CMLPP=3D1 ${CXXFLAGS}= -c " \ + C_OPTIONS=3D"${CFLAGS} -fPIC -c " \ + LINKER_OPTIONS=3D"${LDFLAGS}" \ + CREATE_MAIN=3D \ + ISLINUX=3D1 + popd + done +} + +src_install() { + dodoc readme*.txt + if use doc ; then + cd "${WORKDIR}/INCHI-1-DOC/" + docinto doc + dodoc *.pdf readme.txt + fi + cd "${S}/INCHI/gcc/inchi-1" + dobin inchi-1 + cd "${S}/INCHI_API/gcc_so_makefile/result" + dolib.so lib* + insinto /usr/include + doins ../../inchi_main/inchi_api.h +} diff --git a/sci-libs/inchi/metadata.xml b/sci-libs/inchi/metadata.xml new file mode 100644 index 0000000..035d004 --- /dev/null +++ b/sci-libs/inchi/metadata.xml @@ -0,0 +1,8 @@ + + + +sci-chemistry + +Program v1.03 implementing IUPAC (Standard) InChI/InChIKey version 1. + +