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 EC0991381F3 for ; Sat, 1 Jun 2013 17:24:46 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 80016E0931; Sat, 1 Jun 2013 17:24: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 09534E0931 for ; Sat, 1 Jun 2013 17:24:40 +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 ED66E33E107 for ; Sat, 1 Jun 2013 17:24:34 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by hornbill.gentoo.org (Postfix) with ESMTP id 1DE45E5466 for ; Sat, 1 Jun 2013 17:24:33 +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: <1370107363.2cc25eba8953e7588222f389cd98339150273efb.jlec@gentoo> Subject: [gentoo-commits] proj/sci:ccp4 commit in: sci-chemistry/aimless/ X-VCS-Repository: proj/sci X-VCS-Files: sci-chemistry/aimless/ChangeLog sci-chemistry/aimless/aimless-0.1.30.ebuild sci-chemistry/aimless/metadata.xml X-VCS-Directories: sci-chemistry/aimless/ X-VCS-Committer: jlec X-VCS-Committer-Name: Justin Lecher X-VCS-Revision: 2cc25eba8953e7588222f389cd98339150273efb X-VCS-Branch: ccp4 Date: Sat, 1 Jun 2013 17:24:33 +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: 5b3e65a1-1a95-4173-a020-f4a3aab05e97 X-Archives-Hash: 8ae65298ee61722cae2b831c02ab8044 commit: 2cc25eba8953e7588222f389cd98339150273efb Author: Justin Lecher gentoo org> AuthorDate: Sat Jun 1 17:22:43 2013 +0000 Commit: Justin Lecher gentoo org> CommitDate: Sat Jun 1 17:22:43 2013 +0000 URL: http://git.overlays.gentoo.org/gitweb/?p=proj/sci.git;a=commit;h=2cc25eba sci-chemistry/aimless: New package Package-Manager: portage-2.2.0_alpha177 --- sci-chemistry/aimless/ChangeLog | 10 +++++ sci-chemistry/aimless/aimless-0.1.30.ebuild | 67 +++++++++++++++++++++++++++++ sci-chemistry/aimless/metadata.xml | 8 ++++ 3 files changed, 85 insertions(+) diff --git a/sci-chemistry/aimless/ChangeLog b/sci-chemistry/aimless/ChangeLog new file mode 100644 index 0000000..84b9752 --- /dev/null +++ b/sci-chemistry/aimless/ChangeLog @@ -0,0 +1,10 @@ +# ChangeLog for sci-chemistry/aimless +# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2 +# $Header: $ + +*aimless-0.1.30 (01 Jun 2013) + + 01 Jun 2013; Justin Lecher +aimless-0.1.30.ebuild, + +metadata.xml: + New package + diff --git a/sci-chemistry/aimless/aimless-0.1.30.ebuild b/sci-chemistry/aimless/aimless-0.1.30.ebuild new file mode 100644 index 0000000..7662ece --- /dev/null +++ b/sci-chemistry/aimless/aimless-0.1.30.ebuild @@ -0,0 +1,67 @@ +# Copyright 1999-2013 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ + +EAPI=5 + +inherit eutils multilib toolchain-funcs + +DESCRIPTION="Scale together multiple observations of reflections" +HOMEPAGE="http://www.mrc-lmb.cam.ac.uk/harry/pre/aimless.html" +SRC_URI="ftp://ftp.mrc-lmb.cam.ac.uk/pub/pre/${P}.tar.gz" + +SLOT="0" +LICENSE="ccp4" +KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux" +IUSE="" + +CDEPEND=" + sci-libs/clipper + sci-libs/fftw:2.1 + sci-libs/libccp4[fortran] + sci-libs/mmdb + >=sci-libs/cctbx-2013" +DEPEND="${CDEPEND} + virtual/pkgconfig" +RDEPEND="${CDEPEND}" + +S="${WORKDIR}" + +src_prepare() { + sed \ + -e "s: ar :$(tc-getAR):g" \ + -i MinLib/Makefile || die + sed \ + -e 's:ccp4_mtz_io.o::' \ + -i Makefile.make || die +} + +src_compile() { + local myemakeargs=( + CC=$(tc-getCC) + CXX=$(tc-getCXX) + CFLAGS="${CFLAGS}" + CXXFLAGS="${CXXFLAGS}" + LFLAGS="${LDFLAGS}" + CLIB="${EPREFIX}/usr/$(get_libdir)" + CCTBX_VERSION=2013 + ICCP4="$($(tc-getPKG_CONFIG) --cflags libccp4c libccp4f mmdb)" + ICLPR="$($(tc-getPKG_CONFIG) --cflags clipper)" + ITBX="$($(tc-getPKG_CONFIG) --cflags cctbx)" + ITNT="-I${EPREFIX}/usr/include/tntbx/include/" + LCCP4="$($(tc-getPKG_CONFIG) --libs libccp4c libccp4f mmdb)" + LCLPR="$($(tc-getPKG_CONFIG) --libs clipper)" + LTBX="$($(tc-getPKG_CONFIG) --libs cctbx)" + SLIB="" + ) + emake \ + -C MinLib \ + "${myemakeargs[@]}" + emake \ + -f Makefile.make \ + "${myemakeargs[@]}" +} + +src_install() { + dobin ${PN} +} diff --git a/sci-chemistry/aimless/metadata.xml b/sci-chemistry/aimless/metadata.xml new file mode 100644 index 0000000..5ef07a3 --- /dev/null +++ b/sci-chemistry/aimless/metadata.xml @@ -0,0 +1,8 @@ + + + + sci + + jlec@gentoo.org + +