summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJustin Lecher <jlec@gentoo.org>2011-12-27 12:06:24 +0000
committerJustin Lecher <jlec@gentoo.org>2011-12-27 12:06:24 +0000
commit4cec6f11ff80e91c566f7edb2722eb4eda4b66c1 (patch)
tree50b98e5d9ecd4b8b8121f6406f1d96c5f60dd335 /sci-chemistry
parentAdd missing RDEPENDS - thanks to Agostino Sarubbo (diff)
downloadgentoo-2-4cec6f11ff80e91c566f7edb2722eb4eda4b66c1.tar.gz
gentoo-2-4cec6f11ff80e91c566f7edb2722eb4eda4b66c1.tar.bz2
gentoo-2-4cec6f11ff80e91c566f7edb2722eb4eda4b66c1.zip
Version Bump
(Portage version: 2.2.0_alpha83/cvs/Linux x86_64)
Diffstat (limited to 'sci-chemistry')
-rw-r--r--sci-chemistry/pointless/ChangeLog7
-rw-r--r--sci-chemistry/pointless/pointless-1.6.11.ebuild61
2 files changed, 67 insertions, 1 deletions
diff --git a/sci-chemistry/pointless/ChangeLog b/sci-chemistry/pointless/ChangeLog
index 2fe182bc6df4..d8ecf5bb48c1 100644
--- a/sci-chemistry/pointless/ChangeLog
+++ b/sci-chemistry/pointless/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for sci-chemistry/pointless
# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sci-chemistry/pointless/ChangeLog,v 1.29 2011/10/16 12:28:46 ssuominen Exp $
+# $Header: /var/cvsroot/gentoo-x86/sci-chemistry/pointless/ChangeLog,v 1.30 2011/12/27 12:06:24 jlec Exp $
+
+*pointless-1.6.11 (27 Dec 2011)
+
+ 27 Dec 2011; Justin Lecher <jlec@gentoo.org> +pointless-1.6.11.ebuild:
+ Version Bump
16 Oct 2011; Samuli Suominen <ssuominen@gentoo.org> pointless-1.6.2.ebuild:
amd64 restable
diff --git a/sci-chemistry/pointless/pointless-1.6.11.ebuild b/sci-chemistry/pointless/pointless-1.6.11.ebuild
new file mode 100644
index 000000000000..a79cc3851283
--- /dev/null
+++ b/sci-chemistry/pointless/pointless-1.6.11.ebuild
@@ -0,0 +1,61 @@
+# Copyright 1999-2011 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sci-chemistry/pointless/pointless-1.6.11.ebuild,v 1.1 2011/12/27 12:06:24 jlec Exp $
+
+EAPI="3"
+
+PYTHON_DEPEND="2"
+
+inherit eutils fortran-2 multilib python toolchain-funcs
+
+DESCRIPTION="Scores crystallographic Laue and space groups"
+HOMEPAGE="ftp://ftp.mrc-lmb.cam.ac.uk/pub/pre/pointless.html"
+SRC_URI="ftp://ftp.mrc-lmb.cam.ac.uk/pub/pre/${P}.tar.gz"
+
+SLOT="0"
+LICENSE="ccp4"
+KEYWORDS="~amd64 ~ppc ~x86 ~amd64-linux ~x86-linux"
+IUSE=""
+
+DEPEND="
+ sci-chemistry/ccp4-apps
+ >=sci-libs/ccp4-libs-6.1.3-r10
+ sci-libs/clipper
+ sci-libs/fftw:2.1
+ sci-libs/mmdb
+ >=sci-libs/cctbx-2010.03.29.2334-r3
+ virtual/fortran"
+RDEPEND="${DEPEND}"
+
+S="${WORKDIR}"
+
+pkg_setup() {
+ fortran-2_pkg_setup
+ python_set_active_version 2
+}
+
+src_prepare() {
+ epatch "${FILESDIR}"/1.5.1-gcc4.4.patch
+}
+
+src_compile() {
+ emake \
+ -f Makefile.make \
+ CC=$(tc-getCC) \
+ CXX=$(tc-getCXX) \
+ CFLAGS="${CFLAGS}" \
+ CXXFLAGS="${CXXFLAGS}" \
+ LFLAGS="${LDFLAGS}" \
+ CLIB="${EPREFIX}/usr/$(get_libdir)" \
+ CCTBX_VERSION=2010 \
+ ICCP4=-I"${EPREFIX}/usr/include/ccp4" \
+ ITBX="-I${EPREFIX}/usr/include" \
+ ICLPR="-I${EPREFIX}/$(python_get_sitedir)/" \
+ LTBX="-L${EPREFIX}/usr/$(get_libdir)/cctbx/cctbx_build/lib -lcctbx" \
+ SLIB="-L${EPREFIX}/usr/$(get_libdir) -lgfortran" \
+ || die
+}
+
+src_install() {
+ dobin pointless othercell || die
+}