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 141F9138010 for ; Thu, 20 Sep 2012 12:40:01 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id C749621C053; Thu, 20 Sep 2012 12:39:13 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) by pigeon.gentoo.org (Postfix) with ESMTP id 81ACF21C053 for ; Thu, 20 Sep 2012 12:39:08 +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 E8EFF33D703 for ; Thu, 20 Sep 2012 12:39:07 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by hornbill.gentoo.org (Postfix) with ESMTP id 7D459E544D for ; Thu, 20 Sep 2012 12:39:05 +0000 (UTC) From: "Justin Lecher" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Justin Lecher" Message-ID: <1348144661.b6756e1a42857a9d517932b7e9ac6d6f4e7a0577.jlec@gentoo> Subject: [gentoo-commits] proj/sci:master commit in: sci-chemistry/chimera-bin/ X-VCS-Repository: proj/sci X-VCS-Files: sci-chemistry/chimera-bin/ChangeLog sci-chemistry/chimera-bin/chimera-bin-1.6.2.ebuild sci-chemistry/chimera-bin/metadata.xml X-VCS-Directories: sci-chemistry/chimera-bin/ X-VCS-Committer: jlec X-VCS-Committer-Name: Justin Lecher X-VCS-Revision: b6756e1a42857a9d517932b7e9ac6d6f4e7a0577 X-VCS-Branch: master Date: Thu, 20 Sep 2012 12:39:05 +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: 36f8875f-5e54-4009-9e3e-25620ba69012 X-Archives-Hash: ef2f1908a0a01d9f064170a4d9c334b9 commit: b6756e1a42857a9d517932b7e9ac6d6f4e7a0577 Author: Justin Lecher gentoo org> AuthorDate: Thu Sep 20 12:37:41 2012 +0000 Commit: Justin Lecher gentoo org> CommitDate: Thu Sep 20 12:37:41 2012 +0000 URL: http://git.overlays.gentoo.org/gitweb/?p=proj/sci.git;a=commit;h=b6756e1a new addition --- sci-chemistry/chimera-bin/ChangeLog | 10 ++++ sci-chemistry/chimera-bin/chimera-bin-1.6.2.ebuild | 55 ++++++++++++++++++++ sci-chemistry/chimera-bin/metadata.xml | 5 ++ 3 files changed, 70 insertions(+), 0 deletions(-) diff --git a/sci-chemistry/chimera-bin/ChangeLog b/sci-chemistry/chimera-bin/ChangeLog new file mode 100644 index 0000000..f098aa3 --- /dev/null +++ b/sci-chemistry/chimera-bin/ChangeLog @@ -0,0 +1,10 @@ +# ChangeLog for sci-chemistry/chimera-bin +# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 +# $Header: $ + +*chimera-bin-1.6.2 (20 Sep 2012) + + 20 Sep 2012; Justin Lecher +chimera-bin-1.6.2.ebuild, + +metadata.xml: + New addition + diff --git a/sci-chemistry/chimera-bin/chimera-bin-1.6.2.ebuild b/sci-chemistry/chimera-bin/chimera-bin-1.6.2.ebuild new file mode 100644 index 0000000..6d39207 --- /dev/null +++ b/sci-chemistry/chimera-bin/chimera-bin-1.6.2.ebuild @@ -0,0 +1,55 @@ +# Copyright 1999-2012 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ + +EAPI=4 + +inherit eutils + +DESCRIPTION="An extensible Molecular Modelling System" +HOMEPAGE="http://www.cgl.ucsf.edu/chimera" +SRC_URI=" + amd64? ( chimera-1.6.2-linux_x86_64.bin ) + x86? ( chimera-1.6.2-linux.bin )" + +SLOT="0" +LICENSE="chimera" +KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux" +IUSE="" + +S="${WORKDIR}" + +RESTRICT="fetch" + +QA_PREBUILT="opt/.*" + +pkg_nofetch() { + elog "Please visit" + elog "http://www.cgl.ucsf.edu/chimera/download.html" + elog "and download ${A} into ${DISTDIR}" +} + +src_unpack() { + cp "${DISTDIR}"/${A} ${A}.zip + unzip ${A}.zip || die +} + +src_install() { + chmod +x ./chimera.bin + dodir /opt/ + ./chimera.bin -d foo || die + doicon foo/chimeraIcon.png + mv foo "${ED}/opt/${PN}" || die + + cat >> "${T}"/chimera <<- EOF + #!${EPREFX}/bin/bash + + export PATH="${EPREFIX}/opt/${PN}/bin:\${PATH}" + "${EPREFIX}/opt/${PN}/bin/chimera" \$@ + EOF + + exeinto /opt/bin/ + doexe "${T}"/chimera + + make_desktop_entry "${EPREFIX}/opt/bin/chimera" Chimera chimeraIcon +} diff --git a/sci-chemistry/chimera-bin/metadata.xml b/sci-chemistry/chimera-bin/metadata.xml new file mode 100644 index 0000000..d369d06 --- /dev/null +++ b/sci-chemistry/chimera-bin/metadata.xml @@ -0,0 +1,5 @@ + + + + sci +